joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ac0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56db78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5abc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00536457
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.00415510
mov dword [ebp - 0x40], eax
call fcn.004079b0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.004b0db0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x407b47
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00536813
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0052ee60
jmp 0x407c17
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x30]
call fcn.004154f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004154f0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x2c]
call fcn.004152f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004155b0
mov dword [ebp - 0x14], 1
jmp 0x407b99
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jg 0x407be4
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004152f0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x57b8fc
lea edx, [ebp - 0x10]
push edx
call fcn.00416090
add esp, 0x10
push 0
lea ecx, [ebp - 0x10]
call fcn.0052f0e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004155b0
jmp 0x407b90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0052ee60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0052ee60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00536813
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0052ee60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40eb40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e16c
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5abc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00415420
mov dword [ebp - 0x38], eax
push 1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 0x9c]
call eax
lea ecx, [ebp - 0x2c]
call fcn.00535d4d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004154f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004155b0
push 0x57b944
lea ecx, [ebp - 0x10]
call fcn.00413920
push 0
lea ecx, [ebp - 0x10]
call fcn.0052f0e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00535e07
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40ec20
lea ecx, [ebp - 0x2c]
call fcn.00535ae6
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00535d12
test eax, eax
jne 0x40ec1e
lea ecx, [ebp - 0x2c]
call fcn.004153a0
test eax, eax
je 0x40ebf8
jmp 0x40ec1e
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00535fb5
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0052f0e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x30]
call fcn.0052ee60
jmp 0x40ebcd
lea ecx, [ebp - 0x2c]
call fcn.00535a00
call fcn.00415420
mov dword [ebp - 0x40], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x9c]
call eax
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0052ee60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00535d73
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0052ee60
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416280
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e70e
mov eax, dword fs:[0]
push eax
mov eax, 0x673c0
call fcn.00556dd0
mov eax, dword [0x5abc48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x673cc], ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0x673cc]
call fcn.00538bf7
call fcn.0053c536
push 0
call fcn.0053bf00
add esp, 4
push 0x57ba18
mov ecx, dword [ebp - 0x673cc]
call fcn.0053b3ac
lea eax, [ebp - 0x673c4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x673c4]
push ecx
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xcc
call fcn.004155d0
mov edx, dword [ebp - 0x673cc]
mov eax, dword [edx + 0xcc]
push eax
push str._s_tycs
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xd0
push ecx
call fcn.00416090
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xd0
call fcn.0052f0e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x3c
push 0
lea edx, [ebp - 0x672b8]
push edx
call fcn.00556a10
add esp, 0xc
mov dword [ebp - 0x672b8], 0xc
push 0x57ba40
lea eax, [ebp - 0x6729c]
push eax
call fcn.00556c50
add esp, 8
mov dword [ebp - 0x672b8], 0xc
lea ecx, [ebp - 0x672b8]
push ecx
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xdc
call fcn.00416ee0
mov dword [ebp - 0xac], 0x94
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 2
jne 0x4163d2
mov eax, dword [ebp - 0x673cc]
mov byte [eax + 0xe4], 1
jmp 0x4163df
mov ecx, dword [ebp - 0x673cc]
mov byte [ecx + 0xe4], 0
push 0x57ba48
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xa4
call fcn.004155d0
push 0x57ba4c
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xa8
call fcn.004155d0
push 0x57ba50
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xac
call fcn.004155d0
push 0x57ba54
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xb0
call fcn.004155d0
push 0x57ba58
mov ecx, dword [ebp - 0x673cc]
add ecx, 0xb4
call fcn.004155d0
push 0
lea ecx, [ebp - 0x6727c]
call fcn.00417880
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6727c]
call fcn.0053b100
mov dword [ebp - 0x673c8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6727c]
call fcn.00416790
mov eax, dword [ebp - 0x673c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00556710
mov esp, ebp
pop ebp
ret
Function at 0x4e3200
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575d02
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5abc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x57f
mov dword [ebp - 0x34], 0x580
mov dword [ebp - 0x30], 0x581
mov dword [ebp - 0x2c], 0x582
mov dword [ebp - 0x28], 0x587
mov dword [ebp - 0x24], 0x588
mov dword [ebp - 0x20], 0x589
mov dword [ebp - 0x1c], 0x58a
mov dword [ebp - 0x18], 0x58d
mov dword [ebp - 0x14], 0x58e
mov dword [ebp - 0x10], 0
jmp 0x4e328e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x4e3380
lea ecx, [ebp - 0x44]
call fcn.004154f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + ecx*4 - 0x38]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0054285b
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x203
jne 0x4e336c
mov ecx, dword [ebp - 0x40]
call fcn.0045eb50
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x4e336c
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00540a83
mov ecx, dword [ebp - 0x54]
call fcn.0045d9d0
test eax, eax
je 0x4e336c
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x44]
call fcn.00415630
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x44]
call fcn.00413d40
push eax
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00556c50
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.00415650
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
mov byte [eax], 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x48]
push edx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0052ee60
jmp 0x4e3285
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0053ab2f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x51e4b0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0053ae01
mov ecx, dword [ebp - 0x10]
call fcn.0045d9d0
test eax, eax
je 0x51e551
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00415630
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00413d40
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.00556c50
add esp, 8
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00415650
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x534080
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 2
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret

Function at 0x5340b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5abc48]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], ecx
call fcn.00415ea0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00534920
add esp, 4
mov dword [ebp - 0x24], eax
push 0x10
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00556a10
add esp, 0xc
mov edx, 2
mov word [ebp - 0x20], dx
movzx eax, word [ebp + 0xc]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x1e], ax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x534138
mov edx, dword [ebp - 0x24]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x534134
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x534138
xor eax, eax
jmp 0x534146
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00534160
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00556710
mov esp, ebp
pop ebp
ret 8

Function at 0x534160
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_connect
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x534220
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x40
jae 0x53428a
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov dword [ebp + edx*4 - 0x10c], ecx
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
xor eax, eax
jne 0x53425d
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
lea edx, [ebp - 0x110]
push edx
push 0
call sub.WS2_32.dll_select
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x5342b6
xor eax, eax
jmp 0x5342c9
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x53b338
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x53b35c
cmp dword [edi + 0x54], 0
jne 0x53b35c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00538420
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0053b2f9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x53ba46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x53ba8e
call fcn.00538420
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x53ba8e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x53bad1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x53baba
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x53baba
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x53bace
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5427a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x5427e7
call fcn.00538420
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5427e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x542803
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0054231a
mov esi, eax
test edi, edi
je 0x542801
test ebx, ebx
je 0x542801
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x542fff
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x578e26
call fcn.0055a535
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x543024
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x54306a
lea ecx, [ebp - 0x10]
call fcn.004154f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00534b28
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00415900
mov eax, esi
call fcn.0055a60d
ret 8

Function at 0x545f0d
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x545f38
call fcn.00538420
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x545f5b
push eax
push dword [esi + 4]
call fcn.00545e93
push esi
push eax
mov ecx, 0x5aed80
call fcn.00545b47
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x556710
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5abc48]
jne 0x55671a
repz ret
jmp fcn.0055e99c
Function at 0x56a83e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0055e2de
and dword [ebp - 4], 0
cmp dword [0x5afb5c], 0
mov ebx, eax
jne 0x56a8ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x56a9a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x593ec0
push edi
call esi
test eax, eax
je 0x56a9a0
push eax
call fcn.0055e26c
mov dword [esp], 0x593eb0
push edi
mov dword [0x5afb5c], eax
call esi
push eax
call fcn.0055e26c
mov dword [esp], 0x593e9c
push edi
mov dword [0x5afb60], eax
call esi
push eax
call fcn.0055e26c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5afb64], eax
call esi
push eax
call fcn.0055e26c
pop ecx
mov dword [0x5afb6c], eax
test eax, eax
je 0x56a8ef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055e26c
pop ecx
mov dword [0x5afb68], eax
mov eax, dword [0x5afb68]
cmp eax, ebx
je 0x56a947
cmp dword [0x5afb6c], ebx
je 0x56a947
push eax
call fcn.0055e2e7
push dword [0x5afb6c]
mov esi, eax
call fcn.0055e2e7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x56a947
test edi, edi
je 0x56a947
call esi
test eax, eax
je 0x56a93e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x56a93e
test byte [ebp - 0xc], 1
jne 0x56a947
or dword [ebp + 0x10], 0x200000
jmp 0x56a980
mov eax, dword [0x5afb60]
cmp eax, ebx
je 0x56a980
push eax
call fcn.0055e2e7
pop ecx
test eax, eax
je 0x56a980
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x56a980
mov eax, dword [0x5afb64]
cmp eax, ebx
je 0x56a980
push eax
call fcn.0055e2e7
pop ecx
test eax, eax
je 0x56a980
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5afb5c]
call fcn.0055e2e7
pop ecx
test eax, eax
je 0x56a9a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x56a9a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4061b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4000
call fcn.00406fa0
push ebx
push esi
push edi
lea eax, [ebp - 0x4000]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x2000
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
cmp dword [0x411050], 0xffffffff
jne 0x4061f3
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
mov dword [0x411050], eax
je 0x406258
lea eax, [ebp - 0x4000]
test eax, eax
jne 0x406203
xor ebx, ebx
xor esi, esi
jmp 0x40623b
lea eax, [ebp - 0x4000]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00406fa0
xor ebx, ebx
mov esi, esp
push ebx
push ebx
push edi
push esi
lea eax, [ebp - 0x4000]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0xc]
push ebx
push eax
push esi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [0x411050]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x400c]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10004a33
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004a72
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004a72
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004a72
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004a72
cmp dword [ecx + 0x74], 0xe
jbe 0x10004a72
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000773d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100077da
push ebx
push esi
call fcn.10007706
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000769a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007787
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100077d9
push edi
push eax
call fcn.10005d32
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100077a7
call fcn.100061e2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100077d8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000769a
add esp, 0x20
test eax, eax
jne 0x100077c6
push edi
call fcn.100061e2
jmp 0x100077ce
push ebx
call fcn.100061e2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007a47
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f508
push 0x1000f500
push str.FlsAlloc
push 0x1f
call fcn.10007963
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007a7b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e124]
call esi
jmp 0x10007a81
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007ac5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f518
push 0x1000f510
push str.FlsGetValue
push 0x21
call fcn.10007963
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007afc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e124]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007b04
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f520
push 0x1000f518
push str.FlsSetValue
push 0x22
call fcn.10007963
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007b3e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e124]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000d170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d19d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d19d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret