joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454980
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x1ac], eax
cmp byte [0x4fed1e], 0
jne 0x4549d0
lea eax, [esp + 0x18]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4549f1
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
mov byte [0x4fed1e], 1
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
lea eax, [esp + 4]
push str.WindowsSocket_already_initialized.
push eax
call fcn.00404e00
add esp, 8
lea eax, [esp + 4]
push 0x4f7910
push eax
call fcn.00498838
lea eax, [esp + 4]
push str.Failed_to_initialize_WindowsSocket.
push eax
call fcn.00404e00
add esp, 8
lea eax, [esp + 4]
push 0x4f7910
push eax
call fcn.00498838
int3

Function at 0x454a90
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbe36
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
sub esp, 8
mov dword [esi], vtable.SocketIPv4.0
lea ecx, [esi + 4]
call fcn.00420810
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [esi + 8], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 6
mov byte [ebp - 4], 1
push 1
push 2
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0
cmp eax, 0xffffffff
je 0x454b24
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.004556f0
push 0x4f7c34
lea eax, [ebp - 0x28]
push eax
call fcn.00498838
int3
Function at 0x454cd0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbe87
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
sub esp, 8
call fcn.00420810
push dword [ebp + 0xc]
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004555d0
mov ax, word [ebp - 0x2c]
add esp, 4
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], ax
mov dword [ebp - 0x30], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov dword [ebp - 4], 1
push esi
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x454e0e
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x48], vtable.AutoLock.0
mov dword [ebp - 0x44], esi
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edi, dword [edi + 0x30]
test edi, edi
je 0x454db5
mov dword [edi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xc
push edi
call fcn.00497104
add esp, 8
push 0xc
call fcn.004970d4
mov dword [ebp - 0x40], eax
sub esp, 0xc
mov byte [ebp - 4], 3
movups xmm0, xmmword [ebp - 0x20]
mov edx, esp
mov ecx, eax
movups xmmword [edx], xmm0
call fcn.00455530
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x30], eax
mov byte [ecx + 0x34], 0
mov byte [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x60]
call fcn.004556f0
push 0x4f7c34
lea eax, [ebp - 0x60]
push eax
call fcn.00498838
int3
Function at 0x454f50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf25
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x24]
push eax
call fcn.004550b0
mov edi, eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x38], edi
call fcn.004970d4
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00454a90
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], vtable.AutoLock.0
lea ecx, [esi + 8]
mov byte [esi + 0x28], 1
mov eax, dword [ecx]
mov dword [ebp - 0x40], ecx
call dword [eax + 4]
mov dword [ebp - 4], 3
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x38]
mov dword [esi + 0x24], edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x45501f
push 0xc
call fcn.004970d4
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 4
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00455530
mov byte [ebp - 4], 3
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x455056
push 0xc
call fcn.004970d4
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 5
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00455530
mov dword [esi + 0x30], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
Function at 0x4550b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x4fa008]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_select]
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x30d40
nop word [eax + eax]
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
push ecx
inc eax
mov dword [esp + 0x48], 1
push eax
call ebx
cmp byte [esi + 0x28], 0
jne 0x455184
cmp eax, 0xffffffff
je 0x455184
test eax, eax
jle 0x455100
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x24]
call edi
test eax, eax
je 0x455100
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
je 0x45516c
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
call fcn.004556f0
push 0x4f7c34
lea eax, [esp + 0x24]
push eax
call fcn.00498838
lea ecx, [esp + 0x20]
call fcn.004556f0
push 0x4f7c34
lea eax, [esp + 0x24]
push eax
call fcn.00498838
int3

Function at 0x4555d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc031
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00420810
xor eax, eax
mov dword [edi + 8], 0
mov word [edi + 4], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push esi
mov dword [ebp - 0x10], 1
call fcn.00403200
mov dword [ebp - 4], 1
mov ecx, 0x4fb53c
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov dword [ebp - 0x18], 0x4fb53c
call dword [eax + 4]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044ddd0
mov byte [ebp - 4], 3
push dword [ebp - 0x38]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4556ca
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
lea ecx, [ebp - 0x3c]
mov dword [edi + 8], eax
call fcn.0044de80
mov byte [ebp - 4], 4
mov ecx, 0x4fb53c
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov ax, word [ebp + 8]
lea ecx, [ebp - 0x28]
mov word [edi + 4], ax
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x54]
call fcn.004556f0
push 0x4f7c34
lea eax, [ebp - 0x54]
push eax
call fcn.00498838
int3
Function at 0x457740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc1c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x160]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x14], vtable.AutoLock.0
mov dword [ebp - 0x10], ecx
call dword [eax + 4]
mov dword [ebp - 4], 0
lea edi, [ebx + 0x134]
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov dword [ebp - 0x18], edi
call dword [eax + 4]
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0xf8]
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov dword [ebx + 0xdc], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0xe4], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xe8], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0xec], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xf0], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0xf4], eax
mov eax, dword [ecx]
push dword [esi + 0x20]
call dword [eax + 4]
movzx eax, byte [esi + 0x2c]
mov byte [ebx + 0x108], al
movzx eax, byte [esi + 0x2d]
mov byte [ebx + 0x109], al
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x10c], eax
mov byte [ebp - 4], 2
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
lea ecx, [ebx + 0x160]
mov dword [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a9f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc638
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], vtable.StringStorage.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x45aaa2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.00403a30
jmp 0x45aaca
lea eax, [ebp - 0x40]
push eax
push 0x10
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4c5694
push ecx
call fcn.0049a300
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.0044ddd0
mov byte [ebp - 4], 2
mov edi, 4
mov ebx, dword [ebp - 0x58]
sub ebx, dword [ebp - 0x5c]
mov eax, dword [esi + 4]
dec ebx
mov dword [ebp - 0x48], eax
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x33], al
mov eax, ebx
shr eax, 8
xor esi, esi
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x31], bl
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 0x32], al
nop
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x34]
push edi
add eax, esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add esi, eax
sub edi, eax
cmp esi, 4
jb 0x45ab10
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov ebx, dword [ebp - 0x50]
mov edi, ebx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
test ebx, ebx
je 0x45ab5c
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x4c]
push edi
add eax, esi
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, eax
sub edi, eax
mov eax, dword [ebp - 0x48]
cmp esi, ebx
jb 0x45ab42
lea ecx, [ebp - 0x60]
call fcn.0044de80
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.StringStorage.0
call fcn.00403b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
Function at 0x46a3a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd2f7
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x23c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 4]
mov bl, byte [edi + 0xc4]
mov byte [ebp - 4], 2
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 8]
test bl, bl
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov ebx, 0
mov dword [ebp - 0x22c], 0
setne bl
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov byte [ebp - 4], 4
sub ebx, 0
je 0x46a4d9
sub ebx, 1
jne 0x46a50b
lea eax, [ebx + 0x23]
jmp 0x46a4de
mov eax, 0x1a
push 1
push eax
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x46a50b
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call dword [eax + 4]
push 0x4c5650
push dword [ebp - 0x22c]
lea eax, [ebp - 0x240]
push 0x4dd21c
push eax
call fcn.00403a90
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.00403b90
mov eax, dword [edi + 0x2c]
add edi, 0x2c
mov esi, dword [ebp - 0x23c]
mov ecx, edi
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x224], edi
call dword [eax + 4]
lea ecx, [edi + 0x9c]
mov byte [ebp - 4], 5
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.00403b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496bbb
mov esp, ebp
pop ebp
ret
Function at 0x46a5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd362
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.ServerConfig.0
mov dword [edi + 4], 0x170c
mov dword [edi + 8], 0x16a8
mov dword [edi + 0xc], 0x1010101
mov dword [edi + 0x10], 0
mov word [edi + 0x14], 0x101
mov word [edi + 0x2e], 1
mov byte [edi + 0x30], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 1
mov dword [edi + 0x40], 0x3e8
mov word [edi + 0x44], 0
mov byte [edi + 0x46], 0
mov dword [edi + 0x48], 3
mov byte [edi + 0x4c], 0
mov dword [edi + 0x50], 0x1e
mov dword [edi + 0x54], vtable.PortMappingContainer.0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov byte [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea eax, [edi + 0x9c]
mov dword [edi + 0x8c], 0xbb8
mov byte [edi + 0x90], 1
lea esi, [eax + 4]
mov dword [edi + 0x94], 0
mov word [edi + 0x98], 0x100
mov byte [edi + 0x9a], 0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403cc0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
add esp, 0xc
mov word [edi + 0xac], 0
lea eax, [edi + 0xb4]
mov byte [edi + 0xae], 0
mov dword [edi + 0xb0], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi + 0x16], xmm0
movq qword [edi + 0x26], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46dd60
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd730
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 4]
mov edi, dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea ecx, [ebx + 8]
mov eax, dword [ebx + 8]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x46de4c
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.00403130
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00403b40
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push esi
push ecx
push edi
mov dword [ebp - 0x10], ecx
call fcn.00405440
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 1
push 0
push dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x46de44
lea ecx, [ebp - 0x30]
call fcn.00403170
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov ecx, str.Cannot_report_an_event_to_the_system_log
call fcn.0041c950
push dword [ebp - 0x2c]
push 0x4cbe74
push dword [ebx + 0x24]
call fcn.00405650
add esp, 0xc
mov dword [ebp - 0x30], vtable.StringStorage.0
lea ecx, [ebp - 0x2c]
call fcn.00403b90
lea ecx, [ebp - 0x20]
call fcn.00403b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46de60
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd763
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e440
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov ecx, 0x4fb574
mov dword [edi + 0x10], vtable.Singleton_class_ZombieKiller_.0
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
cmp dword [0x4feeb4], 0
jne 0x46dede
mov eax, edi
mov dword [0x4feeb4], eax
mov byte [ebp - 4], 1
mov ecx, 0x4fb574
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 2
lea esi, [edi + 0x14]
push 0
mov dword [edi], vtable.ZombieKiller.0
mov dword [edi + 0x10], vtable.ZombieKiller.1.0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c400
mov dword [esi], eax
lea eax, [edi + 0x20]
push eax
mov dword [edi + 0x1c], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46e4e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.GlobalMutex.0
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a300
push dword [ebp + 8]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push str.Local
push 0x4dd21c
push eax
call fcn.00403a90
add esp, 0x1c
push dword [ebp - 0x1c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x46e5cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 4]
cmp eax, 0xb7
je 0x46e5c6
call fcn.0046e650
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.0041be20
push 0x4f7a3c
lea eax, [ebp - 0x48]
push eax
call fcn.00498838
int3

Function at 0x46e7e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd85e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e440
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
push 0
mov dword [edi], vtable.ThreadCollector.0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c400
mov dword [esi], eax
lea eax, [edi + 0x1c]
mov dword [edi + 0x18], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 2
call fcn.0041d100
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret