joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451a24
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451bcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451bb0
mov dl, 1
mov eax, dword [0x412b9c]
call fcn.00403b28
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048cc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451b9f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043f964
test al, al
je 0x451b92
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451be0
lea eax, [ebp - 0x254]
call fcn.004098cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451b92
xor eax, eax
push ebp
push 0x451b8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x451c18
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451b74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b3c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451b74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b92
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451a95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416678
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451bd6
lea eax, [ebp - 0x260]
call fcn.004048cc
ret

Function at 0x452518
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45abb0]
cmp byte [eax + 0xa5], 0
jne 0x452589
cmp dword [0x45abc8], 0
jne 0x45254a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4524d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45abc8], eax
cmp dword [0x45abc4], 0
jne 0x452565
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45abc4], eax
cmp dword [0x45abcc], 0
jne 0x452589
push esp
push 0
push 0
push 0x452478
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45abcc], eax
pop edx
ret
Function at 0x452c1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45abb0]
cmp dword [eax + 0x30], 0
je 0x452cc6
cmp dword [ebx + 0x94], 0
jne 0x452cc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452bac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452cc0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452c86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452cc0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414ae8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452c95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453824
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x453859
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004049bc
jmp 0x453866
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404920
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454988
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4549c9
mov eax, esi
call fcn.0043af4c
test al, al
je 0x4549c9
mov eax, dword [ebx + 0x84]
call fcn.0043ac48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4549c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ac48
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455ae4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x455aec
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x455cf4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x308]
call fcn.0043446c
mov eax, dword [ebp - 0xc]
call fcn.00455558
test al, al
jne 0x455b3b
push 0x10
mov ecx, 0x455d04
mov edx, 0x455d0c
mov eax, dword [0x4590b0]
mov eax, dword [eax]
call fcn.00453e08
call fcn.0040c448
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x310]
call fcn.0043446c
mov eax, dword [ebp - 0x10]
call fcn.00455558
test al, al
jne 0x455b72
push 0x10
mov ecx, 0x455d04
mov edx, 0x455d30
mov eax, dword [0x4590b0]
mov eax, dword [eax]
call fcn.00453e08
call fcn.0040c448
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x318]
call fcn.0043446c
mov eax, dword [ebp - 0x14]
call fcn.00455558
test al, al
jne 0x455ba9
push 0x10
mov ecx, 0x455d04
mov edx, 0x455d54
mov eax, dword [0x4590b0]
mov eax, dword [eax]
call fcn.00453e08
call fcn.0040c448
mov edx, dword [0x45abe8]
mov eax, ebx
call fcn.00457700
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x308]
call fcn.0043446c
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.004565f0
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x318]
call fcn.0043446c
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.004565f0
lea eax, [ebp - 0x20]
mov ecx, 0x455d80
mov edx, dword [ebp - 4]
call fcn.00404bd8
mov eax, dword [ebp - 0x20]
call fcn.00408d80
test al, al
je 0x455c68
push 0
mov ecx, 0x455d80
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00404bd8
mov eax, dword [ebp - 0x24]
call fcn.00404d8c
push eax
mov ecx, 0x455d80
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
call fcn.00404bd8
mov eax, dword [ebp - 0x28]
call fcn.00404d8c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x455c68
push 0x10
mov ecx, 0x455d04
mov edx, 0x455d90
mov eax, dword [0x4590b0]
mov eax, dword [eax]
call fcn.00453e08
call fcn.0040c448
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x310]
call fcn.0043446c
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.004565f0
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x318]
call fcn.0043446c
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.004565f0
push 0x455db0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00456678
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455cfb
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004048f0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004048f0
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004048f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048f0
ret
Function at 0x456678
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404d7c
mov eax, dword [ebp - 8]
call fcn.00404d7c
mov eax, dword [ebp + 8]
call fcn.00404d7c
lea eax, [ebp - 0x160]
mov edx, dword [0x40788c]
call fcn.00405278
xor eax, eax
push ebp
push 0x456843
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x164]
mov ecx, 0x45685c
mov edx, dword [ebp - 4]
call fcn.00404bd8
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00408f08
test eax, eax
jne 0x4567ff
cmp dword [ebp - 0x158], 0x10
je 0x4567e1
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 0x154]
call fcn.00409138
mov eax, dword [ebp - 0x168]
mov edx, dword [ebp + 8]
call fcn.00404cd8
jne 0x4567e1
push 0
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404bd8
mov eax, dword [ebp - 0x16c]
call fcn.00404d8c
push eax
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404bd8
mov eax, dword [ebp - 0x170]
call fcn.00404d8c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4567b5
push 0x10
mov ecx, 0x456860
mov edx, 0x456868
mov eax, dword [0x4590b0]
mov eax, dword [eax]
call fcn.00453e08
call fcn.0040c448
push 0x456890
push dword [ebp - 4]
push dword [ebp - 0x154]
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00404c4c
mov edx, dword [ebp - 0x174]
mov eax, esi
call fcn.004574c4
inc ebx
lea eax, [ebp - 0x160]
call fcn.00408f58
test eax, eax
je 0x456715
lea eax, [ebp - 0x160]
call fcn.00408f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45684a
lea eax, [ebp - 0x174]
mov edx, 5
call fcn.004048f0
lea eax, [ebp - 0x160]
mov edx, dword [0x40788c]
call fcn.0040533c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048f0
lea eax, [ebp + 8]
call fcn.004048cc
ret
Function at 0x1e9426b
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.01e93d57
xchg cx, ax
stc
jne 0x1e942a3
je 0x1e942a3
xchg ebx, eax
pop ds
invalid
call fcn.01e9428d
lea esp, [esp + 3]
jmp 0x1e942cd
rol dl, 0
mov cx, 0xe29a
mov ch, byte [esp]
mov ax, 0x457a
bswap eax
jmp 0x1e94308
not ecx
btc ecx, edx
jl 0x1e942f2
jge 0x1e942f2

Function at 0x1e94270
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.01e93d57
xchg cx, ax
stc
jne 0x1e942a3
je 0x1e942a3
xchg ebx, eax
pop ds
invalid
call fcn.01e9428d
lea esp, [esp + 3]
jmp 0x1e942cd
rol dl, 0
mov cx, 0xe29a
mov ch, byte [esp]
mov ax, 0x457a
bswap eax
jmp 0x1e94308
not ecx
btc ecx, edx
jl 0x1e942f2
jge 0x1e942f2

Function at 0x1e9428d
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1e942be
sub esp, 0xb
jbe 0x1e942a8
lea esp, [esp + 3]
jmp 0x1e942cd

Function at 0x1e94863
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov al, bh
lea esp, [esp + 2]
and edx, 0x3c
mov ch, bl
clc
jmp 0x1e9487f
push ax
bswap ecx
jmp 0x1e94844
js 0x1e9482e
btr cx, si
jmp 0x1e94869

Function at 0x1e9b1d1
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
jg 0x1e9b139
xchg byte [edi + edi*8 - 1], cl
jmp dword [esi - 0x48]
lea esp, [esp + 4]
dec bl
mov ah, cl
call fcn.01e9b205
jge 0x1e9b1aa
jbe 0x1e9b1dd
loopne 0x1e9b222
popfd
in al, dx
inc dword [esi - reloc.KERNEL32.dll_HeapDestroy]
xchg al, ah
jmp 0x1e9b1bb
out 0x44, al
fidivr dword [ebp - 0xe8e34b4]
xchg al, ah
jmp 0x1e9b1bb
popal
add bl, dh

Function at 0x1ecb980
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 4]
mov dword [eax + 0xc], 0xefcdab89
push esp
mov byte [esp + 2], al
jmp 0x1ecb9ec
lea esp, [esp + 4]
mov dword [eax + 8], 0x67452301
push edi
jmp 0x1ecb96a
lea esp, [esp + 4]
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x401650
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x10]
xor edx, edx
and ecx, 2
push 0x410f98
cmp cl, 2
sete dl
mov dword [0x410fb0], edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x50
call fcn.004048a8
mov dword [0x410fb4], eax
mov eax, dword [0x410fb0]
add esp, 4
test eax, eax
je 0x4016b3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x410fbc], eax
add esp, 0x94
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004016d0
add esp, 4
mov dword [0x410fbc], eax
add esp, 0x94
ret

Function at 0x401cf0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x410fb0]
test eax, eax
je 0x401cff
jmp dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00401800
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push esi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
push eax
push ecx
push edx
call fcn.00401d60
push edi
mov esi, eax
call fcn.004015d0
add esp, 4
mov eax, esi
pop edi
pop esi
ret 0x28

Function at 0x407222
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410498
cmp edx, dword [eax]
je 0x407244
add eax, 8
inc ecx
cmp eax, 0x410528
jl 0x407235
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410498]
jne 0x407372
mov eax, dword [0x410fcc]
cmp eax, 1
je 0x40734c
test eax, eax
jne 0x407275
cmp dword [0x40e2e4], 1
je 0x40734c
cmp edx, 0xfc
je 0x407372
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4072ac
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407f30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4072ef
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407f30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40ce80
push edi
call fcn.00408cf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408710
lea eax, [ebp - 0xa0]
push 0x40ce60
push eax
call fcn.00408710
push dword [esi + 0x41049c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408c62
add esp, 0x2c
pop edi
jmp 0x407372
lea eax, [ebp + 8]
lea esi, [esi + 0x41049c]
push 0
push eax
push dword [esi]
call fcn.00407f30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4012c0
Capabilities:
Terminate thread

Disassembly:
push esi
mov dword [0x48f8f0], 1
call fcn.004016b0
mov eax, dword [0x48f8ec]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4012fa
mov ecx, dword [0x48f8ec]
push 0xdead
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x48f8ec]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x48f8e8]
mov dword [0x48f8ec], 0
test eax, eax
je 0x401329
push eax
call esi
mov dword [0x48f8e8], 0
pop esi
ret

Function at 0x401330
Capabilities:
Create process on windows
Create process suspended
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2dc
mov eax, dword [0x48b914]
xor eax, esp
mov dword [esp + 0x2d8], eax
push esi
push 0x103
lea eax, [esp + 0x1d5]
push 0
push eax
mov byte [esp + 0x1dc], 0
call fcn.004592c0
add esp, 0xc
push 0x103
lea ecx, [esp + 0xcd]
push 0
push ecx
mov byte [esp + 0xd4], 0
call fcn.004592c0
lea edx, [esp + 0xd4]
add esp, 0xc
test edx, edx
je 0x4013c6
push 0x104
mov eax, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x4013c6
lea ecx, [esp + 0xc8]
push 0x5c
push ecx
call fcn.00456f10
add esp, 8
test eax, eax
je 0x4013c6
mov byte [eax + 1], 0
push str.local_
lea edx, [esp + 0xcc]
push 0x104
push edx
call fcn.004558ea
add esp, 0xc
push str.proxy.py
push str.python27.exe
lea eax, [esp + 0xd0]
push eax
push str.__s_s___s
lea ecx, [esp + 0x1e0]
push 0x104
push ecx
call fcn.004551d4
push 0x44
lea edx, [esp + 0x34]
push 0
push edx
call fcn.004592c0
or dword [esp + 0x68], 1
add esp, 0x24
mov eax, 4
mov word [esp + 0x48], ax
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd0]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x1f0]
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40148e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop esi
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.00454d22
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x60]
call fcn.00412650
mov edx, dword [esp + 0x10]
push edx
mov eax, esi
call fcn.00412a10
call fcn.00437d3f
cmp dword [ebp + 8], 1
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jne 0x4014ef
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0x401240
push 0
push 0
mov dword [0x48f8e8], edx
call fcn.0045553a
add esp, 0x18
mov dword [0x48f8ec], eax
test eax, eax
jne 0x4014f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4014f8
mov eax, dword [esp + 8]
mov dword [0x48f8e8], eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2dc]
pop esi
xor ecx, esp
mov al, 1
call fcn.00454d22
mov esp, ebp
pop ebp
ret
Function at 0x4016b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x48b914]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [str.GoAgent]
mov ecx, dword [0x47b6f4]
lea edx, [esp + 4]
push edx
push 0x401520
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00403ab0
mov ecx, dword [esp + 0xc]
xor ecx, esp
mov al, 1
call fcn.00454d22
mov esp, ebp
pop ebp
ret

Function at 0x401710
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40173f
xor eax, eax
pop esi
pop ecx
ret
push edi
push 0x47b714
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x401765
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4017a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x324
mov eax, dword [0x48b914]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x221]
push ebx
push eax
mov byte [esp + 0x228], bl
call fcn.004592c0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x119]
push ebx
push ecx
mov byte [esp + 0x120], bl
call fcn.004592c0
add esp, 0xc
push 0x103
lea edx, [esp + 0x11]
push ebx
push edx
mov byte [esp + 0x18], bl
call fcn.004592c0
lea eax, [esp + 0x120]
add esp, 0xc
test eax, eax
je 0x401844
push 0x104
mov ecx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x401844
lea edx, [esp + 0x114]
push 0x5c
push edx
call fcn.00456f10
add esp, 8
cmp eax, ebx
je 0x401844
mov byte [eax + 1], bl
lea eax, [esp + 0x114]
push eax
push str._slocal.dat
lea ecx, [esp + 0x224]
push 0x104
push ecx
call fcn.004551d4
push str.local_
lea edx, [esp + 0x128]
push edx
push 0x47b70c
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.004551d4
add esp, 0x24
call fcn.004016b0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x21c]
push ecx
call esi
lea ebx, [esp + 0xc]
call fcn.0040f2e0
lea eax, [esp + 0x21c]
call fcn.00401710
test eax, eax
jne 0x4018df
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.00454d22
add esp, 0x324
ret
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018e6
sub eax, edx
mov byte [esp + eax + 0xb], cl
lea edx, [esp + 0xc]
lea ecx, [esp + 0x21c]
call fcn.00412c20
test eax, eax
jne 0x4018c0
lea edx, [esp + 0x21c]
push edx
call esi
mov ecx, dword [esp + 0x328]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00454d22
add esp, 0x324
ret

Function at 0x401b90
Capabilities:
Delete file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48b914]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 0x109]
push 0
push eax
mov byte [esp + 0x110], 0
call fcn.004592c0
push 0x103
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.004592c0
lea edx, [esp + 0x18]
add esp, 0x18
test edx, edx
je 0x401c0f
push 0x104
mov eax, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x401c0f
lea ecx, [esp]
push 0x5c
push ecx
call fcn.00456f10
add esp, 8
test eax, eax
je 0x401c0f
mov byte [eax + 1], 0
push esi
push str.python27.exe
push str.local_
lea edx, [esp + 0xc]
push edx
push str._s_s_s
lea eax, [esp + 0x118]
push 0x104
push eax
call fcn.004551d4
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
lea ecx, [esp + 0x108]
push ecx
call esi
test eax, eax
jne 0x401c88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x401c88
call fcn.004016b0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x108]
push edx
call esi
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00454d22
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00454d22
add esp, 0x20c
ret
Function at 0x401ff0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x12c
mov eax, dword [0x48b914]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x130]
push ebx
push esi
push edi
push eax
xor bl, bl
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
je 0x402125
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x402125
mov eax, 2
push 0x1bb
mov word [esp + 0x128], ax
mov dword [esp + 0x12c], edi
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push esi
mov word [esp + 0x132], ax
mov dword [esp + 0x18], 1
call edi
test eax, eax
jne 0x402081
mov bl, 1
push 0x10
lea edx, [esp + 0x128]
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x402101
test bl, bl
je 0x40211e
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esi + 1]
push edx
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40211e
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x18], ebx
call edi
test eax, eax
jne 0x40211e
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00454d22
add esp, 0x12c
ret
mov dword [esp + 0xc], 0
test bl, bl
je 0x4020e7
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push esi
call edi
test eax, eax
je 0x4020e7
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.00454d22
add esp, 0x12c
ret