joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4509e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00452310
mov ecx, dword [ebp - 0x2c]
call fcn.004518e0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov cx, word [0x503fe4]
mov word [ebp - 0x24], cx
xor edx, edx
mov dword [ebp - 0x22], edx
mov dword [ebp - 0x1e], edx
mov dword [ebp - 0x1a], edx
mov dword [ebp - 0x16], edx
mov dword [ebp - 0x12], edx
mov dword [ebp - 0xe], edx
mov dword [ebp - 0xa], edx
mov dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0x24]
push edx
push str.Current_User:_s_r_n
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx]
call eax
add esp, 0xc
push str.BaseAddress:_tSize:_tName_tPath_tSymbolPath_tVersion_r_n
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx]
call ecx
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x450acb
mov edx, dword [ebp - 0x28]
add edx, 0x61c
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x414
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x20c
push ecx
mov edx, dword [ebp - 0x28]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
push str._08x_t_d_t_s_t_s_t_s_t_s_r_n
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx]
call ecx
add esp, 0x20
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa1c]
mov dword [ebp - 0x28], eax
jmp 0x450a71
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00451840
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret

Function at 0x450ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x450ec6
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0044e950
jmp 0x450ef8
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0044e8c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x450ef5
mov ecx, dword [ebp - 4]
call fcn.0044ff30
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x452a50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x504e70]
mov word [ebp - 0x804], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x802]
push ecx
call fcn.004d6720
add esp, 0xc
call fcn.00456c60
lea edx, [ebp + 0x10]
mov dword [ebp - 0x808], edx
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x400
lea edx, [ebp - 0x804]
push edx
call fcn.0044d760
add esp, 0x10
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x45a730
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x45a761
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45a7c3
cmp dword [ebp + 8], 0
je 0x45a7bc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45a7bc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x45a798
push 9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x14], 0
je 0x45a7bc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, 1
jmp 0x45a7d4
cmp dword [ebp + 0x14], 0
je 0x45a7d2
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0045a880
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x45af88
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jbe 0x45af88
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 4
lea edx, [ebp - 0x10]
push edx
push 0x9800000c
mov ecx, dword [ebp - 4]
call fcn.0043ffc0
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x45af45
mov ecx, dword [ebp - 4]
call fcn.0045a880
xor al, al
jmp 0x45af8a
mov dword [ebp - 8], 0x10000
push 4
lea eax, [ebp - 8]
push eax
push 0x1002
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov al, 1
jmp 0x45af8a
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x45afb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7b68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0x44
push 0
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004d6720
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
cmp dword [ebp + 0x14], 0
jne 0x45b00d
mov dword [ebp - 0x40], 1
xor edx, edx
mov word [ebp - 0x3c], dx
push 0x50602c
lea ecx, [ebp - 0x10]
call fcn.0044dc60
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
push 0x506030
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0044e020
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45b095
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044dfa0
mov eax, dword [ebp - 0x14]
jmp 0x45b0ae
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044dfa0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x45b2c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0045a840
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x45b302
mov dword [ebp - 8], 1
jmp 0x45b309
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x45c530
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], 0xb5367df1
mov eax, 0xcbac
mov word [ebp - 0x10], ax
mov ecx, 0x11cf
mov word [ebp - 0xe], cx
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
mov dword [ebp - 0x24], 0x25a207b9
mov edx, 0xddf3
mov word [ebp - 0x20], dx
mov eax, 0x4660
mov word [ebp - 0x1e], ax
mov byte [ebp - 0x1c], 0x8e
mov byte [ebp - 0x1b], 0xe9
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x19], 0xe5
mov byte [ebp - 0x18], 0x8c
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 6
mov byte [ebp - 0x15], 0x3e
mov dword [ebp - 0x34], 0xb5367df2
mov ecx, 0xcbac
mov word [ebp - 0x30], cx
mov edx, 0x11cf
mov word [ebp - 0x2e], dx
mov byte [ebp - 0x2c], 0x95
mov byte [ebp - 0x2b], 0xca
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0x80
mov byte [ebp - 0x28], 0x5f
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0xa1
mov byte [ebp - 0x25], 0x92
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x45c607
xor eax, eax
jmp 0x45c657
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004602d0
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004602d0
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004602d0
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret

Function at 0x45d5c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x45d5f8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x45d5db
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
jne 0x45d5fc
xor eax, eax
jmp 0x45d63e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45d614
mov eax, dword [ebp - 0xc]
jmp 0x45d63e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45d63c
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov eax, dword [edx]
jmp 0x45d63e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45e490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7f86
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004d6720
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x103
jb 0x45e5d8
push 0x2000
call fcn.004d2a2a
add esp, 4
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x228]
add ecx, 0xa
push ecx
push 0
mov edx, dword [ebp - 0x220]
push edx
call fcn.004d6720
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0xfff
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x22c]
call fcn.0044dc60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004d21f3
add esp, 4
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dc30
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0044dfa0
mov eax, dword [ebp + 8]
jmp 0x45e624
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0044dc60
mov dword [ebp - 4], 1
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dc30
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0044dfa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x45e640
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x254]
call fcn.00457650
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x45e6d7
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.004a99c0
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00458330
mov eax, dword [ebp + 8]
jmp 0x45e7e0
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45e73d
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [ebp + 8]
call fcn.004a99c0
mov eax, dword [ebp - 0x240]
or eax, 1
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00458330
mov eax, dword [ebp + 8]
jmp 0x45e7e0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0044dc60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45e791
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0045aa30
test eax, eax
jne 0x45e78f
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x254]
call fcn.00467500
jmp 0x45e750
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004a99c0
mov edx, dword [ebp - 0x240]
or edx, 1
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0044dfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00458330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x45fc00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f82b6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], 0
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004d6720
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x45fcb6
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x45fca2
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0044dc60
mov dword [ebp - 4], 0
push 0x505f5c
push 1
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00462fc0
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x234], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
call fcn.004590a0
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0044dfa0
movzx eax, byte [ebp - 0x219]
test eax, eax
je 0x45fd39
push 0x505f5c
lea ecx, [ebp - 0x224]
call fcn.0044e2e0
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044dc30
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0044dfa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x45fed0
Capabilities:
List udp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 1
push 0
lea ecx, [ebp - 0x44]
call fcn.0044dab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0043ffc0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
call fcn.004b15c0
mov dword [ebp - 0x18], eax
push 0
push 1
push 2
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7a
jne 0x45ff6c
push 1
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x44]
call fcn.0044e5d0
lea ecx, [ebp - 0x44]
call fcn.0043ffc0
mov dword [ebp - 0x10], eax
push 0
push 1
push 2
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
movzx edx, word [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], 0
jmp 0x45ff8f
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx]
jge 0x45ffe0
imul ecx, dword [ebp - 0x14], 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 8]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
imul edx, dword [ebp - 0x14], 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 8]
cmp ecx, dword [ebp + 8]
jne 0x45ffde
imul edx, dword [ebp - 0x14], 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0044df00
mov eax, dword [ebp - 0x20]
jmp 0x45fff9
jmp 0x45ff86
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0044df00
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x460320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x46033b
xor eax, eax
jmp 0x46034c
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x46034a
mov eax, 1
jmp 0x46034c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x460350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x460366
xor eax, eax
jmp 0x46036b
mov eax, 1
pop ebp
ret
Function at 0x460390
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x202
mov word [ebp - 0x198], ax
lea ecx, [ebp - 0x194]
push ecx
movzx edx, word [ebp - 0x198]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x4603d8
xor eax, eax
jmp 0x46041f
push 1
call fcn.004de2d7
add esp, 4
mov dword [ebp - 0x19c], eax
push 0
call fcn.004389a0
add esp, 4
mov esi, eax
add esi, dword [ebp - 0x19c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esi, eax
push esi
call fcn.004de30e
add esp, 4
mov eax, dword [ebp - 0x19c]
push eax
call fcn.004de2d2
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret

Function at 0x460790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4621e0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax], 0
jne 0x46220b
xor eax, eax
jmp 0x4622e6
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x108], 0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x210]
call fcn.00459e40
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.00459e40
mov eax, dword [ebp + 0x14]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
je 0x46229d
xor eax, eax
jmp 0x4622e6
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.00460370
test eax, eax
je 0x4622b8
or eax, 0xffffffff
jmp 0x4622e6
mov dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret 0x10