joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d264
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46d27b
add esp, 0xfffffff0
call fcn.00403d40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425fbc
mov eax, dword [0x4de5ec]
cmp word [eax + 2], 0
jne 0x46d2a3
mov eax, dword [0x4de5ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e9e4
mov eax, dword [0x4de71c]
cmp word [eax + 2], 0
jne 0x46d2bd
mov eax, dword [0x4de71c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ebdc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b350]
call fcn.004039ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b350]
call fcn.004039ac
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428c08]
call fcn.00430ed0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46d444
mov eax, dword [0x4de478]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004312a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f18c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4de478]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dcc8
test eax, eax
je 0x46d3b2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004098f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dcf0
test eax, eax
je 0x46d3c6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404abc
mov eax, dword [0x4de268]
cmp byte [eax], 0
jne 0x46d3fa
mov eax, ebx
call fcn.0046d56c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046f368
mov eax, ebx
call fcn.0046fd2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d43a
call fcn.00403d98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d7ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dfbe0]
cmp dword [eax + 0x30], 0
je 0x46d896
cmp dword [ebx + 0x94], 0
jne 0x46d890
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d77c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d890
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 0x46d856
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d890
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.0041dcc0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d865
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e3f8
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 0x46e42d
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.0040493c
jmp 0x46e43a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f544
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f585
mov eax, esi
call fcn.00455524
test al, al
je 0x46f585
mov eax, dword [ebx + 0x84]
call fcn.00455220
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f585
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455220
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x472c4c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x472c7a
mov eax, ebx
call fcn.00473700
cmp dword [ebx + 0x40], 0
je 0x472c73
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x472ceb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x472cdd
cmp dword [ebx + 8], 0
je 0x472c9c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x472cae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x472cdd
cmp dword [ebx + 8], 0
je 0x472c8f
cmp eax, 3
je 0x472cc1
dec eax
jne 0x472c8f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x472c8f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x472c8f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472d09
cmp dword [ebx + 0x14], 0xcc
je 0x472d09
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00472d14
pop ebx
ret
Function at 0x4846f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484958
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48475b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004841c0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d8b4
cmp al, 1
jne 0x48475b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004844d8
test al, al
je 0x4848e7
cmp dword [ebp - 8], 0
jge 0x484779
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004841c0
mov eax, dword [ebp - 0x210]
call fcn.00404b0c
cmp ebx, eax
jge 0x4847c3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004841c0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4de90c]
and eax, 0xff
bt dword [edx], eax
jae 0x4847c3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4847d7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004846d4
cmp ebx, dword [ebp - 8]
je 0x4848d9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x484803
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bd8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dda88]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4848c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bd8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dda88]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00455220
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bd8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dda88]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00455220
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4848cd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48493a
cmp dword [ebp - 8], 0
jge 0x4848f2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004841c0
mov eax, dword [ebp - 0x218]
call fcn.00404b0c
cmp eax, dword [ebp - 8]
jg 0x48492c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004841c0
mov eax, dword [ebp - 0x21c]
call fcn.00404b0c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004846d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48495f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404870
ret
Function at 0x496870
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a8c8]
call fcn.0040532c
xor eax, eax
push ebp
push 0x4969b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ddb38], 0
jne 0x4968c3
mov ecx, dword [0x4de288]
mov dl, 1
mov eax, dword [0x408018]
call fcn.0040cf6c
call fcn.0040426c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403198
mov eax, ebx
call fcn.004050e4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4969c4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004065d8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050f4
test eax, eax
jle 0x49695b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x496954
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ad4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404abc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ee8
test eax, eax
jne 0x496954
mov ebx, 0x15
jmp 0x496960
mov ebx, 0x10
jmp 0x496960
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4ddb38]
call fcn.004967c8
mov eax, dword [ebp - 8]
call fcn.004967c8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4969bb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404870
lea eax, [ebp - 0x10]
mov edx, dword [0x41a8c8]
call fcn.004053fc
ret

Function at 0x4acec4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4acee9
cmp dword [esp + 4], 5
jb 0x4acee9
mov al, 1
jmp 0x4aceeb
xor eax, eax
add esp, 0x94
ret
Function at 0x4014aa
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 4, 0
push eax
mov cl, byte [ebp - 8]
mov edx, dword [0x40f050]
mov ebx, eax
mov eax, 0x40f054
shl edx, cl
call fcn.004013e6
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 8]
or dl, 0x40
mov esi, 0x401ec4
push edx
sub esi, fcn.0040168f
push esi
xor eax, eax
push fcn.0040168f
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401518
mov ebx, dword [ebp - 8]
mov eax, fcn.0040168f
mov edx, esi
call fcn.004013e6
mov ebx, dword [ebp - 8]
mov edx, 0x1b600
mov eax, 0x40f054
call fcn.004012f1
leave
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x4015d7
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x13c, 0
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
push 0x7f00
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassW]
push 0
push 0
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x4071d4
Capabilities:
Encode data using xor

Disassembly:
call fcn.004070e6
lodsd eax, dword [esi]
xor eax, dword [0x445562]
sub eax, dword [0x445562]
xor eax, dword [0x445562]
xor eax, dword [0x445562]
stosd dword es:[edi], eax
push esi
pop dword [0x445836]
push dword [0x445836]
pop eax
sub eax, 0x4393d9
jle 0x4071d9
xor ecx, ecx
add ecx, dword [0x44555a]
jmp ecx

Function at 0x4087e4
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c8
push ebx
push ecx
push edx
push edi
push esi
mov dword [ebp - 0x4b0], 0
and dword [ebp - 0x2a0], 0
mov dword [ebp - 0x768], 0
xor eax, eax
push eax
xor eax, eax
push eax
xor eax, eax
push eax
push dword [0x445894]
xor eax, eax
push eax
push dword [0x445894]
call dword [sym.imp.WS2_32.dll_WSASocketW_1]
mov dword [ebp - 0x26c], eax
mov eax, dword [0x445894]
push eax
push dword [0x445894]
xor eax, eax
push eax
xor eax, eax
push eax
push 0
mov eax, dword [0x445894]
push eax
mov eax, dword [0x445894]
push eax
push 0
push dword [0x445894]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov dword [ebp - 0x35c], eax
mov eax, dword [0x445894]
push eax
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
call dword [sym.imp.WINMM.dll_midiOutLongMsg]
mov dword [0x4453c3], eax
xor eax, eax
push eax
push dword [0x445894]
xor eax, eax
push eax
call dword [sym.imp.WINMM.dll_midiOutLongMsg_2]
mov dword [ebp - 0x500], eax
mov edi, dword [0x445836]
mov esi, dword [0x44583a]
add edi, edx
mov eax, dword [0x445894]
push eax
xor eax, eax
push eax
push dword [0x445894]
push 0
mov eax, dword [0x445894]
push eax
push dword [0x445894]
mov eax, dword [sym.imp.WS2_32.dll_WSASocketW_3]
call eax
mov dword [0x444eb0], eax
lea edx, [ebp - 0x11]
lea esi, [ebp + 0x2d]
add esi, 0xde
sub ebx, edi
sub ebx, esi
push eax
push ebx
mov eax, 0x444f16
push eax
call fcn.00407d40
call fcn.00407a9c
push dword [ebp + 0x10]
lea edx, [0x445886]
push edx
push dword [ebp - 0x1c]
push esi
push eax
call fcn.00407e20
add esp, 0x14
call fcn.00407df8
lea edx, [0x445886]
push edx
push 0x58
mov eax, 0x445002
push eax
push eax
call fcn.004086b4
lea edx, [ebp - 0x11]
lea esi, [ebp + 0x2d]
add eax, edi
sub edi, esi
push 2
push ecx
call fcn.00407ee0
add esp, 8
push ebx
push ebx
lea edx, [0x445886]
push edx
call fcn.004082d4
call fcn.004086a4
push 0x7c
push dword [ebp - 0x40]
push eax
push 0x3f
call fcn.00407b48
push 0x14a4a00
push dword [0x44585e]
push dword [0x44585e]
push dword [0x44585e]
push 0x446757
call dword [sym.imp.USER32.dll_SetRect_2]
cmp al, 0
je 0x40824f
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
push dword [0x445894]
push dword [0x445894]
xor eax, eax
push eax
push 0
call dword [sym.imp.WS2_32.dll_WSASocketW_1]
mov dword [ebp - 0x4a4], eax
call fcn.00408010
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 0x10
Function at 0x4089c8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push edx
push edi
push esi
and dword [ebp - 0x90], 0
and dword [ebp - 0x138], 0
mov edi, dword [0x445836]
mov esi, dword [0x44583a]
add esi, eax
add edi, esi
push edx
mov eax, 0x444cff
push eax
call fcn.00408558
add esp, 8
push eax
push dword [ebp + 0x58]
push dword [ebp - 0x80]
call fcn.00407e04
add esp, 0xc
lea edx, [0x445886]
push edx
push eax
push dword [ebp + 0x64]
call fcn.004082d4
lea edx, [ebp - 0x11]
lea esi, [ebp + 0x2d]
sub esi, edi
mov eax, dword [0x445894]
push eax
mov eax, dword [0x445894]
push eax
push 0
mov eax, dword [0x445894]
push eax
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
mov eax, dword [sym.imp.WS2_32.dll_WSASocketA_2]
call eax
mov dword [0x444a00], eax
push 0x68
push ebp
push 0x7d
mov eax, 0x4451d5
push eax
call fcn.004086b4
push eax
push 0xd
mov eax, str.QX2._
push eax
push 0x55
mov eax, 0x444ef2
push eax
push eax
push 0x75
call fcn.00408690
add esp, 0x1c
push ebx
push eax
push 0x36
push eax
push esp
lea edx, [0x445886]
push edx
lea edx, [0x445886]
push edx
call fcn.00408690
add esp, 0x1c
push eax
push 0x33
push dword [ebp - 0x78]
call fcn.004084f8
add esp, 0xc
push dword [0x445894]
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
push dword [0x445894]
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
mov eax, dword [0x445894]
push eax
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl_2]
mov dword [0x4441f7], eax
push 0x4b
mov eax, 0x444946
push eax
call fcn.00408558
add esp, 8
Function at 0x408f00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push ecx
push esi
mov edi, dword [0x445836]
mov esi, dword [0x44583a]
add esi, 0xde
sub ebx, edi
sub ebx, esi
mov eax, 0x444923
push eax
push dword [ebp - 0x40]
push eax
lea edx, [0x445886]
push edx
mov eax, 0x445257
push eax
push esp
call fcn.00408c48
add esp, 0x18
lea edx, [0x445886]
push edx
push 0x17
call fcn.00408558
add esp, 8
mov eax, 0x444eb2
push eax
push esi
push dword [ebp - 0x10]
push eax
lea edx, [0x445886]
push edx
push eax
push dword [ebp - 0x3c]
call fcn.00408690
add esp, 0x1c
push 0x445e1e
push 0x69102d00
push 0x8a328f00
push dword [0x44585e]
push dword [0x44585e]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp al, 0
jne 0x4085c6
xor edx, edx
mov dword [0x445836], edx
mov dword [0x44583a], edx
add edi, edx
lea edx, [0x445886]
push edx
push esi
call fcn.00407aac
add esp, 8
lea edx, [0x445886]
push edx
mov eax, 0x445402
push eax
mov eax, 0x445362
push eax
push eax
push ebp
call fcn.004082c0
add esp, 0x14
push ebx
lea edx, [0x445886]
push edx
call fcn.00408558
add esp, 8
mov eax, dword [0x445894]
push eax
push 0x445b0b
push 0x445e1e
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW_1]
mov dword [ebp - 0x44], eax
mov ecx, 0xb
push ecx
call dword [sym.imp.GDI32.dll_GetObjectType_2]
mov dword [0x445191], eax
mov edx, 0x446444
push edx
mov ebx, 0x446131
push ebx
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW_2]
mov dword [ebp - 0x1c], eax
mov ecx, 9
push ecx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [0x444bd3], eax
push 0x446757
mov ecx, 0x446131
push ecx
mov eax, dword [0x445894]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW_2]
mov dword [ebp - 8], eax
push 0x36
mov eax, 0x4452cd
push eax
push dword [ebp - 0x10]
lea edx, [0x445886]
push edx
push eax
call fcn.00407e20
add esp, 0x14
pop esi
pop ecx
pop ebx
leave
ret

Function at 0x4092a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3bc
push ebx
push ecx
push edx
push edi
push esi
and dword [ebp - 0x17c], 0
and dword [ebp - 0x14c], 0
and dword [ebp - 0x36c], 0
mov dword [ebp - 0x2cc], 0xb87cb26e
xor edx, edx
mov dword [0x445836], edx
mov dword [0x44583a], edx
add esi, eax
add edi, esi
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
mov eax, dword [sym.imp.WINMM.dll_midiOutShortMsg_1]
call eax
mov dword [ebp - 0x3a4], eax
call fcn.00407df8
push 0x445b0b
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW_1]
mov dword [0x44480b], eax
push 0
mov eax, dword [0x445894]
push eax
push 0
push dword [0x445894]
mov eax, dword [0x445894]
push eax
mov eax, dword [0x445894]
push eax
xor eax, eax
push eax
xor eax, eax
push eax
mov eax, dword [0x445894]
push eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov dword [0x444b0b], eax
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x401a6f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x404f48], eax
add ebp, 8
mov dword [0x404123], ebp
sub ebp, 8
mov dword [0x404f4c], 0x30
mov dword [0x404f50], 3
mov dword [0x404f58], 0
mov dword [0x404f5c], 0
mov dword [0x404f54], 0x402a60
mov eax, dword [0x40411b]
mov dword [0x404f60], eax
mov dword [0x404f6c], 0x10
mov dword [0x404f74], 0x404108
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x404f64], eax
mov dword [0x404f78], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x404f68], eax
push 0x404f4c
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x40411b]
push 0
push 0
push 0xc8
push 0x12c
push 0x50
push 0x190
push 0xc0000
push str.Hello_from_Win32
push str.Class1
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x404f40], eax
push 0
push dword [0x404f40]
call sub.user32.dll_ShowWindow
push dword [0x404f40]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x404f7c
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401b83
push 0x404f7c
call sub.user32.dll_TranslateMessage
push 0x404f7c
call sub.user32.dll_DispatchMessageA
jmp 0x401b59
mov eax, dword [0x404f84]
mov esi, dword [0x404fdc]
lea ecx, [0x40411b]
add esi, eax
call esi
mov eax, dword [0x404f84]
push eax
call sub.kernel32.dll_ExitProcess
int3
Function at 0x401000
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x41f044]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
push 0x118
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0040c400
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x401084
cmp dword [ebp - 0x7c], 5
mov eax, dword [ebp - 0x78]
jne 0x40106e
test eax, eax
jne 0x40105d
cmp word [ebp + 0x94], 4
jb 0x401084
inc esi
cmp eax, 2
jne 0x401064
push eax
pop esi
jae 0x40106b
cmp eax, 1
jne 0x401084
push 3
pop esi
cmp dword [ebp - 0x7c], 6
jne 0x401084
test eax, eax
jne 0x40107c
push 4
jmp 0x401083
cmp eax, 1
jne 0x401084
push 5
pop esi
mov ecx, dword [ebp + 0x9c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408b52
add ebp, 0xa0
leave
ret