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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4579d7
add esp, 0xfffffff0
call fcn.00403ad8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041df78
mov eax, dword [0x4760f4]
cmp word [eax + 2], 0
jne 0x4579ff
mov eax, dword [0x4760f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045909c
mov eax, dword [0x47618c]
cmp word [eax + 2], 0
jne 0x457a19
mov eax, dword [0x47618c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459294
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413970]
call fcn.00403744
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413970]
call fcn.00403744
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], 0x80000018
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 [0x4203a0]
call fcn.00427a9c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457ba0
mov eax, dword [0x47600c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427e6c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459804
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47600c]
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.0040cc38
test eax, eax
je 0x457b0e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e10
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc60
test eax, eax
je 0x457b22
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.004047cc
mov eax, dword [0x475ef4]
cmp byte [eax], 0
jne 0x457b56
mov eax, ebx
call fcn.00457cc8
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.004599e0
mov eax, ebx
call fcn.0045a320
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457b96
call fcn.00403b30
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457f3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477c00]
cmp dword [eax + 0x30], 0
je 0x457fe6
cmp dword [ebx + 0x94], 0
jne 0x457fe0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457ecc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457fe0
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 0x457fa6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457fe0
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.0041606c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457fb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458ac4
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 0x458af9
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.00404654
jmp 0x458b06
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459bbc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459bfd
mov eax, esi
call fcn.0043f98c
test al, al
je 0x459bfd
mov eax, dword [ebx + 0x84]
call fcn.0043f688
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459bfd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f688
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b45c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45b4e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x477c2c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45b4cf
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b6d4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x45b4fc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4761f0]
mov dl, 1
mov eax, dword [0x45a8f8]
call fcn.0040c020
call fcn.00403f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b4ec
lea eax, [ebp - 0x1c]
call fcn.00404564
ret
Function at 0x45bbd8
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045baf0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403970
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45bc40
call fcn.0045b3a4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45bc31
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403970
pop esi
pop ebx
pop ebp
ret

Function at 0x45bc68
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00404a14
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00403038
test ebx, ebx
je 0x45bcb1
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [ebp - 8], cl
mov cl, byte [edx + 1]
mov byte [ebp - 7], cl
mov cl, byte [edx + 2]
mov byte [ebp - 6], cl
mov al, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45bd90
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45bdc1
mov ecx, dword [0x4762d8]
mov dl, 1
mov eax, dword [0x45a8f8]
call fcn.0040bfe4
call fcn.00403f40
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45bdee
mov ecx, dword [0x4760ec]
mov dl, 1
mov eax, dword [0x45a8f8]
call fcn.0040bfe4
call fcn.00403f40
xor eax, eax
push ebp
push 0x45be6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403970
cmp byte [ebp + 8], 0
je 0x45be49
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045bcf8
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045bb54
jmp 0x45be65
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045b698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45be8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45c05c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045b964
xor eax, eax
push ebp
push 0x45c1ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45c1b8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45c0a7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45c0b1
call fcn.00403fec
jmp 0x45c1d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004180cc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x45c1ad
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45c15f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45c14c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403970
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045c014
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45c1e0]
cmp dl, byte [eax + 0x28]
je 0x45c1b4
call fcn.0040becc
jmp 0x45c1b4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004180ec
jmp 0x45c1b4
cmp ecx, ebx
jge 0x45c17b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004180ec
jmp 0x45c0b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004180cc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418100
cmp edx, dword [esp + 4]
jne 0x45c19c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45c0b1
push ebp
call fcn.0045c014
pop ecx
jmp 0x45c1b4
push ebp
call fcn.0045c014
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c1d5
mov eax, dword [ebp - 4]
call fcn.0045b974
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c230
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c37a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045b964
xor eax, eax
push ebp
push 0x45c35d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45c295
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45c295
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45c347
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45c2a8
call fcn.00403fec
jmp 0x45c364
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45c347
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45c347
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403970
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45c347
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b6d4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45c394
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4761f0]
mov dl, 1
mov eax, dword [0x45a8f8]
call fcn.0040c020
call fcn.00403f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c364
mov eax, dword [ebp - 4]
call fcn.0045b974
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c381
lea eax, [ebp - 0x28]
call fcn.00404564
ret
Function at 0x462014
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 0x462274
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x462077
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00461adc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c7ac
cmp al, 1
jne 0x462077
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00461df4
test al, al
je 0x462203
cmp dword [ebp - 8], 0
jge 0x462095
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.00461adc
mov eax, dword [ebp - 0x210]
call fcn.0040481c
cmp ebx, eax
jge 0x4620df
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00461adc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4762dc]
and eax, 0xff
bt dword [edx], eax
jae 0x4620df
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4620f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00461ff0
cmp ebx, dword [ebp - 8]
je 0x4621f5
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 0x46211f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x475e24]
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 0x4621e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x475e24]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043f688
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x475e24]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043f688
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4621e9
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 0x462256
cmp dword [ebp - 8], 0
jge 0x46220e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00461adc
mov eax, dword [ebp - 0x218]
call fcn.0040481c
cmp eax, dword [ebp - 8]
jg 0x462248
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00461adc
mov eax, dword [ebp - 0x21c]
call fcn.0040481c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00461ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46227b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404588
ret
Function at 0x46d028
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [0x46d064]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d041
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d050
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d05f
or bl, 2
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x46d850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d98d
push dword fs:[eax]
mov dword fs:[eax], esp
push 9
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 9
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0043f688
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
cmp byte [eax + 0x82], 0
jne 0x46d983
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0041e59c
dec eax
test eax, eax
jl 0x46d979
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
call fcn.0041e570
mov edx, dword [0x435160]
call fcn.00403900
test al, al
je 0x46d96d
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
call fcn.0041e570
mov edx, dword [0x435160]
call fcn.00403924
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x46d96d
push 0xa
mov eax, ebx
call fcn.0043f688
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0041e59c
mov edi, eax
dec edi
test edi, edi
jl 0x46d96d
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e570
mov edx, dword [0x435160]
call fcn.00403900
test al, al
je 0x46d969
push 0xa
mov edx, esi
mov eax, ebx
call fcn.0041e570
mov edx, dword [0x435160]
call fcn.00403924
call fcn.0043f688
push eax
call sub.user32.dll_ShowWindow
inc esi
dec edi
jne 0x46d930
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x46d8c6
mov eax, dword [ebp - 4]
mov byte [eax + 0x82], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46d997
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d9a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x46d9e7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x476170]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0043f688
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46d9f1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x472174
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472248
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x472232
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x47225c
call fcn.00409548
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47224f
lea eax, [ebp - 8]
call fcn.00404564
ret

Function at 0x472eac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x472ffa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
lea eax, [ebp - 0x408]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
lea edx, [ebp - 0x408]
lea eax, [ebp - 4]
call fcn.00404654
lea eax, [ebp - 8]
mov ecx, 0x473010
mov edx, dword [ebp - 4]
call fcn.00404868
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x46ddf0]
call fcn.0046dea0
mov ebx, eax
push 1
mov ecx, 0x47302c
mov edx, 0x473040
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [0x475eac], al
push 0
mov ecx, 0x473050
mov edx, 0x473040
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [0x475eb0], al
push 0
lea eax, [ebp - 0x40c]
push eax
mov ecx, 0x47306c
mov edx, 0x473040
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40c]
mov eax, 0x475eb4
call fcn.004045b8
push 0
mov ecx, 0x473088
mov edx, 0x473040
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [0x475ec0], al
push 0x47309c
lea eax, [ebp - 0x410]
push eax
mov ecx, 0x4730a8
mov edx, 0x473040
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x410]
mov eax, 0x475ec4
call fcn.004045b8
mov eax, ebx
call fcn.00403774
call sub.winmm.dll_waveOutGetNumDevs
test eax, eax
ja 0x472fcf
mov byte [0x475eb0], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473001
lea eax, [ebp - 0x410]
mov edx, 2
call fcn.00404588
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404588
ret
Function at 0x4193f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4193f6
lcall 0x5de5, 0x8b10c483
jmp loc.00852f38