joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499b74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x499b9a
mov eax, esp
push eax
push 0x499b3c
call sub.user32.dll_EnumWindows
jmp 0x499bad
mov eax, esp
push eax
push 0x499b1c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x499c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x499cc0]
test bl, 4
je 0x499c84
or si, 1
test bl, 8
je 0x499c8d
or si, 4
test bl, 1
je 0x499c96
or si, 8
test bl, 2
je 0x499c9f
or si, 0x10
test bl, 0x10
je 0x499ca8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x499cb8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x499cc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x499d00]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x499cdf
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x499cef
or bx, 4
test esi, 0x20000000
je 0x499cfb
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4a28c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a28d6
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ad58
mov eax, dword [0x4aff9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2d20
mov eax, dword [0x4affa8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2d2c
mov eax, ebx
call fcn.004a2d38
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x49d66c
push eax
push 0
push 0
mov eax, dword [0x4b0134]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a3290
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3100
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3100
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3100
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3100
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3100
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a2a51
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a2ea0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a304d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a302e
mov dl, 1
mov eax, dword [0x4269a0]
call fcn.004327d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406804
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a301d
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.004855c8
test al, al
je 0x4a3010
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4a305c
lea eax, [ebp - 0x394]
call fcn.004119f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a3010
xor eax, eax
push ebp
push 0x4a3009
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4a30cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a2ff2
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004069ec
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4a2ff2
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004069ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3010
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a2f13
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043270c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3054
lea eax, [ebp - 0x3a0]
call fcn.004067f4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b6280]
cmp byte [eax + 0xad], 0
jne 0x4a3c1e
cmp dword [0x4b6298], 0
jne 0x4a3bde
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4afe74]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b6298], eax
cmp dword [0x4b6294], 0
jne 0x4a3bf9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b6294], eax
cmp dword [0x4b629c], 0
jne 0x4a3c1e
push esp
push 0
push 0
mov eax, dword [0x4afe70]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b629c], eax
pop edx
ret
Function at 0x4a3f44
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a3f5b
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ad58
mov eax, dword [0x4afed8]
cmp byte [eax], 0
jne 0x4a3f88
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b0114]
cmp word [eax + 2], 0
jne 0x4a3fa2
mov eax, dword [0x4b0114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a603c
mov eax, dword [0x4b01e8]
cmp word [eax + 2], 0
jne 0x4a3fbc
mov eax, dword [0x4b01e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a624c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445590]
call fcn.0044a598
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a67fc
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448c28]
call fcn.00451390
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a419c
mov eax, dword [0x4b0014]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00451824
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a6ae4
mov dl, 1
mov eax, dword [0x4243d8]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b0014]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041183c
test eax, eax
je 0x4a40cd
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411620
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411820
test eax, eax
je 0x4a40e5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004069ec
push ebx
push 0x4a5a0c
call fcn.00499c54
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4afed8]
cmp byte [eax], 0
jne 0x4a4136
mov eax, ebx
call fcn.004a4310
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a6d10
mov eax, ebx
call fcn.004a7944
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a4193
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a45e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a4686
cmp dword [ebx + 0x94], 0
jne 0x4a4680
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a4530
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a4680
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_GetWindowLongW
test al, 8
je 0x4a4646
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a4680
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.0042f1ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a4655
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a48a4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b6280]
cmp dword [eax + 0x170], 0
je 0x4a4a09
test bl, bl
jne 0x4a4957
cmp dword [esi + 0x9c], 0
jne 0x4a494c
mov eax, esi
call fcn.004a7794
push eax
push 0x4a47b0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a491d
mov eax, dword [0x4b6280]
cmp byte [eax + 0xd3], 0
je 0x4a491d
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a491d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a4906
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a494c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a492c
inc dword [esi + 0x9c]
jmp 0x4a4a09
cmp dword [esi + 0x9c], 0
jle 0x4a4a09
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a4a09
cmp dword [esi + 0x44], 0
je 0x4a49b4
mov eax, dword [0x4b6280]
cmp byte [eax + 0xd3], 0
je 0x4a49b4
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a49b4
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a499d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a49e3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a49c3
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x497b2c]
call fcn.00407fc8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a5658
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a56c3
cmp byte [ebx + 0xd3], 0
jne 0x4a56c3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406940
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a56b0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a56d0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
jmp 0x4a56d0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a6ef8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a6f66
mov eax, esi
call fcn.0047f524
test al, al
je 0x4a6f66
mov eax, dword [ebx + 0x84]
call fcn.0047f178
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a6f66
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a6f5a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047f178
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047614c
jmp 0x4a6f66
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a6d30
pop esi
pop ebx
ret
Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402d32
push 0
push 0x406020
push 0x40601c
call fcn.00402d32
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402a84
Capabilities:
Packed with generic packer

Disassembly:
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
inc ecx
mov edx, dword [ebp + 0x14]
pop esi
loop 0x402ac5
add dword [eax], eax
add byte [edi - 0x73], dl
and al, 0
mov edx, dword [edx + 8]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x402b6a
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [esi + 4], edi
mov dword [esi + 0x48], eax
cmp dword [edi + 4], 0x12
mov dword [ebp - 0xc], eax
push edx
dec edi
dec esi
mov edx, dword [esi]
mov eax, dword [edi]
xor eax, edx
inc edi
inc esi
mov al, ah
dec dword [esp]
inc esi
stosb byte es:[edi], al
pop eax
mov edx, eax
test eax, eax
jne 0x402ae6
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, eax
loop 0x402ac5
inc ecx
ret
aaa
or eax, eax
mov ebx, 0x3b87c244
scasd eax, dword es:[edi]
or esp, dword [0xa79610ba]
stosd dword es:[edi], eax
imul ebx, dword [ebx - 0x38986d88], 0x2e
dec esi
cdq
xchg ebx, eax
cmp edx, dword [ecx - 0x798f96f3]
inc edx
sal dword [0xc68a49f], 0xbc
or al, 0xbc
Function at 0x4033d2
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x406a24]
test eax, eax
je 0x4033eb
call eax
test eax, eax
jne 0x4033eb
push 0xfffffffffffffffe
jmp 0x403405
push 1
push 0x406010
push 0x406008
call fcn.00402d32
add esp, 0xc
test eax, eax
je 0x40340b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x406004
push section..data
call fcn.00402d32
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403431
mov esi, 0x405bf9
mov cl, 0x20
jmp 0x40343a
cmp al, 0x20
ja 0x403444
inc esi
mov al, byte [esi]
test al, al
jne 0x403435
cmp al, 0x20
jbe 0x40345b
mov al, byte [esi]
cmp al, 0x22
jne 0x40344d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403446
jmp 0x40345b
cmp al, cl
ja 0x403461
inc esi
mov al, byte [esi]
test al, al
jne 0x403456
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x40348a
movzx eax, word [ebp - 0x14]
jmp 0x40348d
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40637b], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x406880
push 0x4068e8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403512
xor eax, eax
jmp 0x403529
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret
Function at 0x10001898
Capabilities:
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 4
push eax
push 1
push 6
mov esi, ecx
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, esi
mov dword [esi + 4], edi
call fcn.1000173a
test eax, eax
je 0x100018ed
push esi
push 0
push 0x10001962
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.10001801
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
push 1
pop eax
pop edi
pop esi
leave
ret 4

Function at 0x10001c15
Capabilities:
Create thread
Delete file

Disassembly:
mov eax, 0x10007428
call fcn.10006fb0
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
push esi
push 0
push 0x10001d3c
mov dword [esi + 8], eax
call dword [sym.imp.MSVCRT.dll__beginthread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0xc
push 0
push dword [esi + 4]
call edi
mov ebx, 0x102
cmp eax, ebx
jne 0x10001cfc
lea ecx, [ebp - 0x20]
call fcn.10006bb6
xor eax, eax
lea ecx, [ebp - 0x20]
push eax
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x10001cca
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::GetLength
test eax, eax
mov dword [ebp - 0x10], eax
jbe 0x10001cb9
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 8]
call fcn.10006346
add esp, 0xc
test eax, eax
push dword [ebp + 8]
je 0x10001cea
call sub.MFC42.DLL_operatordelete
pop ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::Close
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
push 0
push dword [esi + 4]
call edi
jmp 0x10001c50
call sub.MFC42.DLL_operatordelete
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100020f9
Capabilities:
Create process on windows
Delete file

Disassembly:
mov eax, 0x10007450
call fcn.10006fb0
mov eax, 0x10014
call fcn.100070d0
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp dword [esi + 0x208], ebx
je 0x1000212a
lea eax, [esi + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
call fcn.10006bb6
lea eax, [esi + 0x100]
push ebx
push 0x3001
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x100021fc
cmp dword [esi + 0x208], ebx
jne 0x10002175
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::GetLength
test eax, eax
jbe 0x10002175
mov eax, dword [ebp - 0x1c]
push 2
push ebx
lea ecx, [ebp - 0x1c]
call dword [eax + 0x30]
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x1001f]
mov byte [ebp - 0x10020], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esi + 0x20c]
cmp edi, ebx
jbe 0x100021d5
mov eax, 0xffff
cmp edi, eax
mov dword [ebp + 0xc], eax
ja 0x100021a5
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10020]
push eax
push dword [ebp + 8]
call fcn.10006365
add esp, 0xc
test eax, eax
je 0x10002219
push dword [ebp + 0xc]
lea eax, [ebp - 0x10020]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CFile::Write
sub edi, dword [ebp + 0xc]
jne 0x10002196
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Close
cmp dword [esi + 0x200], ebx
je 0x100021f9
call fcn.10001fd1
push 5
push ebx
push ebx
push dword [ebp - 0x20]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Close
jmp 0x100021fc
Function at 0x100022d3
Capabilities:
Create thread

Disassembly:
mov eax, 0x1000746c
call fcn.10006fb0
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [edi], ebx
mov dword [eax], ebx
cmp dword [esi + 0x204], ebx
jne 0x1000236b
lea ecx, [ebp - 0x20]
call fcn.10006bb6
push ebx
lea eax, [esi + 0x100]
push ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x1000232c
or dword [ebp - 4], 0xffffffff
mov dword [edi], 0x1b5b
lea ecx, [ebp - 0x20]
jmp 0x100023a0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::GetLength
cmp dword [esi + 0x208], ebx
mov dword [esi + 0x20c], eax
jne 0x1000235a
mov ecx, dword [esi + 0x210]
cmp ecx, ebx
jbe 0x1000235a
cmp eax, ecx
jae 0x1000235a
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::Close
jmp 0x1000231d
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
jmp 0x100023c4
lea ecx, [ebp - 0x30]
call fcn.10006bb6
push ebx
lea eax, [esi + 0x100]
push 0x3001
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x100023a7
or dword [ebp - 4], 0xffffffff
mov dword [edi], 0x1b5b
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::CFile
jmp 0x1000240d
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [ebp - 0x30]
mov dword [esi + 0x210], eax
call sub.MFC42.DLL_CFile::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::CFile
push 0x704
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], 0x4e4
push dword [eax + 4]
lea eax, [edi + 8]
push eax
call sub.MSVCRT.dll_memcpy
push 0x218
lea eax, [edi + 0x4ec]
push esi
push eax
call sub.MSVCRT.dll_memcpy
push edi
push ebx
push 0x10002223
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0x24
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc