joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f400
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x28], ecx
push 0x1c
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x44f424
xor eax, eax
jmp 0x44f502
mov edx, dword [ebp - 0x40]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x44f447
xor eax, eax
jmp 0x44f502
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
jmp 0x44f48e
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xc], edx
jae 0x44f500
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 8]
jbe 0x44f4bc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x44f4c5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jb 0x44f4fb
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x24]
ja 0x44f4fb
mov eax, dword [ebp - 0xc]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, 1
jmp 0x44f502
jmp 0x44f47c
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x450b20
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.004525f0
mov ecx, dword [ebp - 0x2c]
call fcn.00451bc0
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 0x450c0b
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 0x450bb1
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00451b20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret

Function at 0x450fe0
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 0x451006
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0044ea70
jmp 0x451038
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.0044e9e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x451035
mov ecx, dword [ebp - 4]
call fcn.00450070
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x452d30
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.004d64c0
add esp, 0xc
call fcn.00438f80
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.0044d930
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.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x458f00
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 0x458f31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458f93
cmp dword [ebp + 8], 0
je 0x458f8c
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 0x458f8c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x458f68
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 0x458f8c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, 1
jmp 0x458fa4
cmp dword [ebp + 0x14], 0
je 0x458fa2
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x459680
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.00459050
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 0x459758
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jbe 0x459758
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.00443a60
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 0x459715
mov ecx, dword [ebp - 4]
call fcn.00459050
xor al, al
jmp 0x45975a
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 0x45975a
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x459780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f79d8
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.004d64c0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
cmp dword [ebp + 0x14], 0
jne 0x4597dd
mov dword [ebp - 0x40], 1
xor edx, edx
mov word [ebp - 0x3c], dx
push 0x50602c
lea ecx, [ebp - 0x10]
call fcn.0044ddc0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044e400
push 0x506030
lea ecx, [ebp - 0x10]
call fcn.0044e400
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0044e400
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.0044ff30
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x459865
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.0044e100
mov eax, dword [ebp - 0x14]
jmp 0x45987e
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e100
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 0x459a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00459010
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 0x459ad2
mov dword [ebp - 8], 1
jmp 0x459ad9
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x45ad00
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 0x45add7
xor eax, eax
jmp 0x45ae27
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0045e8a0
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.0045e8a0
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.0045e8a0
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.004d1fac
mov esp, ebp
pop ebp
ret

Function at 0x45bcb0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x45bce8
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 0x45bccb
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
jne 0x45bcec
xor eax, eax
jmp 0x45bd2e
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 0x45bd04
mov eax, dword [ebp - 0xc]
jmp 0x45bd2e
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 0x45bd2c
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 0x45bd2e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45cb90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d66
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.004d64c0
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 0x45ccd8
push 0x2000
call fcn.004d283a
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.004d64c0
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.0044ddc0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004d2003
add esp, 4
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dd90
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0044e100
mov eax, dword [ebp + 8]
jmp 0x45cd24
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0044ddc0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dd90
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0044e100
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.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x45cd40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7da6
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.004a0150
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 0x45cdd7
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.004560d0
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00456cf0
mov eax, dword [ebp + 8]
jmp 0x45cee0
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 0x45ce3d
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.004560d0
mov eax, dword [ebp - 0x240]
or eax, 1
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00456cf0
mov eax, dword [ebp + 8]
jmp 0x45cee0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0044ddc0
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 0x45ce91
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00459200
test eax, eax
jne 0x45ce8f
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x254]
call fcn.004648b0
jmp 0x45ce50
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.004560d0
mov edx, dword [ebp - 0x240]
or edx, 1
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0044e100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00456cf0
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.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x45e1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8096
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.004d64c0
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x45e286
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 0x45e272
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.0044ddc0
mov dword [ebp - 4], 0
push 0x505f5c
push 1
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00461440
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.00457980
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0044e100
movzx eax, byte [ebp - 0x219]
test eax, eax
je 0x45e309
push 0x505f5c
lea ecx, [ebp - 0x224]
call fcn.0044e400
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044dd90
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0044e100
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.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x45e4a0
Capabilities:
List udp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f80c8
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.0044dc10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00443a60
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
call fcn.004ae3c0
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 0x45e53c
push 1
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x44]
call fcn.0044e6f0
lea ecx, [ebp - 0x44]
call fcn.00443a60
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 0x45e55f
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 0x45e5b0
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 0x45e5ae
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.0044e060
mov eax, dword [ebp - 0x20]
jmp 0x45e5c9
jmp 0x45e556
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0044e060
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 0x45e8f0
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 0x45e90b
xor eax, eax
jmp 0x45e91c
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x45e91a
mov eax, 1
jmp 0x45e91c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45e920
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 0x45e936
xor eax, eax
jmp 0x45e93b
mov eax, 1
pop ebp
ret