joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46941c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46944a
mov eax, ebx
call fcn.00469ed4
cmp dword [ebx + 0x3c], 0
je 0x469443
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4694bb
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4694ad
cmp dword [ebx + 8], 0
je 0x46946c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46947e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4694ad
cmp dword [ebx + 8], 0
je 0x46945f
cmp eax, 3
je 0x469491
dec eax
jne 0x46945f
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 0x46945f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46945f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4694d9
cmp dword [ebx + 0x10], 0xcc
je 0x4694d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004694e4
pop ebx
ret

Function at 0x47d604
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x47d61c
add esp, 0xfffffff0
call fcn.00403a98
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x47d73d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0041e71c
mov byte [ebx + 0x888], 0
mov eax, 0x400
call fcn.00402784
mov dword [ebx + 0x86c], eax
push ebx
push 0x47ded4
call fcn.00455810
mov dword [ebx + 0x864], eax
mov dword [ebx + 0x880], 1
mov byte [ebx + 0x870], 0
push 0x47d764
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x8c0], eax
mov ecx, 0x47d770
mov dl, 8
mov eax, ebx
call fcn.0047de54
cmp byte [0x4a4bfc], 0
je 0x47d70d
xor eax, eax
push ebp
push 0x47d6f7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x8c4], esi
inc esi
jne 0x47d6d0
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0047dc90
push 4
push 0x47d788
push 0xff7f
push 0xffff
mov eax, dword [ebx + 0x8c4]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d71b
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0047dc90
mov byte [ebx + 0x888], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d744
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404628
ret
Function at 0x47d7e4
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47d8b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x8c4]
test eax, eax
je 0x47d813
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
push 0x4a4a6c
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x47d87d
xor eax, eax
push ebp
push 0x47d867
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x8c4], esi
inc esi
jne 0x47d85d
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0047dc90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d88b
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0047dc90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x840], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d8bd
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404628
ret

Function at 0x47daf0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x47db08
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x47db01
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x47dba3
test esi, esi
jle 0x47db3a
mov ecx, 0x47dc4c
mov dl, 1
mov eax, dword [0x407d00]
call fcn.0040bfb8
call fcn.00403fc4
jmp 0x47db99
cmp word [ebx + 0x8ba], 0
jne 0x47db5c
mov ecx, 0x47dc4c
mov dl, 1
mov eax, dword [0x407d00]
call fcn.0040bfb8
call fcn.00403fc4
jmp 0x47db99
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0x8bc]
call dword [ebx + 0x8b8]
cmp byte [ebp - 9], 0
jne 0x47db98
mov ecx, 0x47dc4c
mov dl, 1
mov eax, dword [0x407d00]
call fcn.0040bfb8
call fcn.00403fc4
jmp 0x47db99
inc esi
cmp dword [ebp + 8], 0
je 0x47db1e
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.0047d950
cmp dword [ebx + 0x848], 0
jne 0x47dbd0
mov ecx, 0x47dc64
mov dl, 1
mov eax, dword [0x47d1d0]
call fcn.0040bfb8
call fcn.00403fc4
mov ecx, 0x47dc80
mov dl, 2
mov eax, ebx
call fcn.0047de54
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x8c4]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0x8a2], 0
je 0x47dc36
mov edx, ebx
mov eax, dword [ebx + 0x8a4]
call dword [ebx + 0x8a0]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x47df44
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 0x47e018
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 + 0x8c4]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0x89a], 0
je 0x47e002
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, 0x47e02c
call fcn.00409b90
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 + 0x89c]
call dword [ebx + 0x898]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e01f
lea eax, [ebp - 8]
call fcn.00404604
ret

Function at 0x48e78c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404604
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.kernel32.dll_GetTempPathA
mov ebx, eax
mov eax, ebx
call fcn.0040d4b0
mov eax, ebx
call fcn.00408948
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48e85f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
call fcn.0040d4b0
mov eax, pe_nt_image_headers32
call fcn.00408948
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48e842
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x48e88c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
call fcn.0040d4b0
mov eax, dword [ebp - 0xc]
call fcn.004093f0
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004046f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e849
mov eax, dword [ebp - 8]
call fcn.004027a4
ret
Function at 0x48f990
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48fba9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
mov ecx, 0x48fbc0
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00490da8
movzx edx, word [ebp - 0xa]
dec edx
test edx, edx
jl 0x48fa45
inc edx
xor eax, eax
mov ecx, dword [0x4a4ebc]
inc ecx
and ecx, 0xff
mov dword [0x4a4ebc], ecx
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax]
mov ebx, dword [0x4a4ebc]
cmp ebx, 0xff
jbe 0x48f9ff
call fcn.00403674
mov byte [ebx + 0x4a4dbc], cl
mov ebx, dword [0x4a4ebc]
cmp ebx, 0xff
jbe 0x48fa18
call fcn.00403674
test cl, cl
je 0x48fa26
xor ecx, ecx
mov dword [0x4a505c], ecx
jmp 0x48fa3b
inc dword [0x4a505c]
cmp dword [0x4a505c], 0xa
jle 0x48fa3b
inc dword [0x4a505c]
inc dword [0x4a4ec0]
inc eax
dec edx
jne 0x48f9d3
mov eax, dword [ebp - 4]
call fcn.004907a0
xor edx, edx
push ebp
push 0x48fb8c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20094], 0
jne 0x48fb27
cmp word [ebp - 0xa], 0
jne 0x48fa8a
mov eax, dword [ebp - 8]
call fcn.004093f0
cmp eax, 0xffff
jbe 0x48fa86
call fcn.00403674
mov word [ebp - 0xa], ax
movzx ebx, word [ebp - 0xa]
mov eax, dword [ebp - 4]
mov byte [eax + 0x20114], 0
push 0
push ebx
movzx eax, word [ebp - 0xa]
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20110]
push eax
call sub.wsock32.dll_send
test eax, eax
jne 0x48facb
mov eax, dword [ebp - 4]
mov byte [eax + 0x20114], 1
mov byte [ebp - 0xb], 1
jmp 0x48fb27
cmp eax, 0xffffffff
jle 0x48fae6
mov edx, dword [ebp - 4]
mov byte [edx + 0x20114], 1
sub ebx, eax
test ebx, ebx
jg 0x48fafb
mov byte [ebp - 0xb], 1
jmp 0x48fafb
inc dword [0x4a4cb0]
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00490cdc
mov eax, dword [0x4a2b9c]
mov eax, dword [eax]
call fcn.0045e3d0
test ebx, ebx
je 0x48fb27
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20094], 0
jne 0x48fb27
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200b9], 0
je 0x48fa8e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20094], 0
je 0x48fb76
mov eax, dword [ebp - 4]
mov byte [eax + 0x20094], 0
mov ecx, 0x48fbd8
mov dl, 1
mov eax, dword [0x48eaf4]
call fcn.0040bfb8
call fcn.00403fc4
mov eax, dword [ebp - 4]
cmp word [eax + 0x200fa], 0
je 0x48fb72
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x200fc]
call dword [ebx + 0x200f8]
mov byte [ebp - 0xb], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fb93
mov eax, dword [ebp - 4]
call fcn.00490804
ret
Function at 0x490270
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x490443
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x490458
mov dl, 8
mov eax, ebx
call fcn.00490da8
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004187f4
cmp byte [ebx + 0x20094], 0
jne 0x4903ef
xor eax, eax
mov dword [ebx + 0x200c8], eax
mov eax, dword [ebp - 4]
call fcn.00418808
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4902d5
call fcn.00403674
mov dword [ebx + 0x200c0], eax
mov eax, dword [ebp - 4]
call fcn.00418808
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004187d4
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x490304
call fcn.00403674
cmp eax, 0x10000
jle 0x490310
mov eax, 0x10000
lea edx, [ebx + 0x10031]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov byte [ebx + 0x20114], 0
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x490341
call fcn.00403674
lea eax, [ebx + eax + 0x10031]
push eax
mov eax, dword [ebx + 0x20110]
push eax
call sub.wsock32.dll_send
test eax, eax
jne 0x490365
mov byte [ebx + 0x20114], 1
jmp 0x49042d
test eax, eax
jle 0x490392
mov byte [ebx + 0x20114], 1
sub esi, eax
add dword [ebx + 0x200c8], eax
cmp word [ebx + 0x200da], 0
je 0x4903a6
mov edx, ebx
mov eax, dword [ebx + 0x200dc]
call dword [ebx + 0x200d8]
jmp 0x4903a6
inc dword [0x4a4cb0]
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.00490cdc
mov eax, dword [0x4a2b9c]
mov eax, dword [eax]
call fcn.0045e3d0
test esi, esi
je 0x4903c3
cmp byte [ebx + 0x20094], 0
je 0x490326
mov eax, dword [ebp - 4]
call fcn.00418808
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004187d4
cmp edx, dword [esp + 4]
jne 0x4903de
cmp eax, dword [esp]
pop edx
pop eax
je 0x4903ef
cmp byte [ebx + 0x20094], 0
je 0x4902db
cmp byte [ebx + 0x20094], 0
je 0x49042d
mov byte [ebx + 0x20094], 0
mov ecx, 0x49046c
mov dl, 1
mov eax, dword [0x48eaf4]
call fcn.0040bfb8
call fcn.00403fc4
cmp word [ebx + 0x200fa], 0
je 0x49042d
mov edx, ebx
mov eax, dword [ebx + 0x200fc]
call dword [ebx + 0x200f8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49044a
lea eax, [ebp - 0xc]
call fcn.00404604
ret
Function at 0x490838
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49092d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x490944
mov dl, 8
mov eax, ebx
call fcn.00490da8
test byte [ebx + 0x1c], 0x10
setne al
xor al, 1
and al, byte [0x4a4ec8]
je 0x490917
xor eax, eax
push ebp
push 0x4908f7
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x20110], esi
mov word [ebp - 4], 0
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xff7f
push esi
call sub.wsock32.dll_setsockopt
cmp dword [ebx + 0x20110], 0xffffffff
jne 0x4908d3
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.00490cdc
push 0x3f
push 0x465
mov eax, dword [ebx + 0x20118]
push eax
mov eax, dword [ebx + 0x20110]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490917
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490934
lea eax, [ebp - 8]
call fcn.00404604
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
mov ecx, 0x490cc4
mov dl, 4
mov eax, ebx
call fcn.00490da8
mov byte [ebx + 0x2011c], 0
mov eax, dword [ebx + 0x20110]
cmp eax, 0xffffffff
je 0x490cb8
push eax
call sub.wsock32.dll_closesocket
test byte [ebx + 0x1c], 8
jne 0x490c88
cmp word [ebx + 0x2005a], 0
je 0x490c88
mov edx, ebx
mov eax, dword [ebx + 0x2005c]
call dword [ebx + 0x20058]
cmp byte [ebx + 0x20095], 0
jne 0x490cb8
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x20110], esi
push 0x3f
push 0x465
mov eax, dword [ebx + 0x20118]
push eax
push esi
call sub.wsock32.dll_WSAAsyncSelect
pop esi
pop ebx
ret
Function at 0x490e50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
push 2
push 1
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20110]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x490e96
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.00490be0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20034]
push eax
call sub.kernel32.dll_SetEvent
jmp 0x490ea7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200b4]
cmp dword [eax + 4], 0
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x490f27
test ebx, ebx
jne 0x490f27
xor eax, eax
push ebp
push 0x490eef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2011c], 0
je 0x490ee5
mov eax, dword [ebp - 4]
call fcn.00490f34
mov eax, dword [ebp - 4]
mov byte [eax + 0x2011c], 0
mov eax, dword [ebp - 4]
call fcn.00490c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490ef9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20034]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [ebp - 4]
cmp word [eax + 0x2005a], 0
je 0x490f27
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x2005c]
call dword [ebx + 0x20058]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x490f3b
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x490f84
mov dl, 8
mov eax, ebx
call fcn.00490da8
push 0
push 0x10000
lea eax, [esp + 8]
push eax
mov eax, dword [ebx + 0x20110]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x440440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b000]
push edi
or ebp, 0xffffffff
jmp 0x440462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440458
mov eax, 1
add ebx, ebx
jne 0x44047b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440470
jne 0x44048c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440470
xor ecx, ecx
sub eax, 3
jb 0x4404a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440512
mov ebp, eax
add ebx, ebx
jne 0x4404ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4404b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4404dc
inc ecx
add ebx, ebx
jne 0x4404c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4404bd
jne 0x4404d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4404bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4404fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4404ed
jmp 0x44045e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4404fc
add edi, ecx
jmp 0x44045e
pop esi
mov edi, esi
mov ecx, 0x254
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44051a
cmp byte [edi], 2
jne 0x44051a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x44051f
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440597
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4488c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44940]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44054c
mov ecx, edi
jns 0x44057b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44944]
or eax, eax
je 0x440591
mov dword [ebx], eax
add ebx, 4
jmp 0x440569
call dword [esi + 0x44948]
popal
jmp 0x403291
Function at 0x401f52
Capabilities:
Get common file path

Disassembly:
sub esp, 0x584
and dword [esp + 0xc], 0
push ebx
mov ebx, ecx
lea ecx, [esp + 0x10]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi]
mov edi, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
call fcn.00401df8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
add ebp, 0x23f
mov ebx, dword [esi + 8]
push 0x20
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
pop esi
mov dword [esp + 0x28], 2
add dword [esp + 0x28], 3
mov edx, dword [esp + 0x24]
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [esp + 0x18], 0xedeb2e40
cmp dword [0x2c8a084], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x2c8a0c8]
cmove eax, dword [esp + 0x18]
and dword [esp + 0x18], 0
cmp dword [0x2c8a084], 0x3eb
mov dword [0x2c8a0c8], eax
mov eax, dword [0x2c8a0d0]
cmove eax, dword [esp + 0x18]
mov dword [0x2c8a0d0], eax
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
xor eax, ecx
mov dword [0x2c8a0cc], 0xf4ea3dee
cmp dword [0x2c8a084], 0x213
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x40209f
push ebp
push ebp
push ebp
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebp
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x194]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], ebp
push ebp
push eax
call fcn.00403ed0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push ebp
push 0x4112c8
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov eax, dword [esp + 0x14]
sub edi, eax
mov eax, edi
mov dword [esp + 0x38], edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
nop
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
shr eax, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x24], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x1c]
call fcn.00401f49
dec esi
je 0x402115
mov ebp, dword [esp + 0x1c]
jmp 0x401fa3
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0x584
ret