joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4212d0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x4212fa
call fcn.004051f0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x20]
push edi
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x42133d
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret

Function at 0x421350
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, edx
push esi
push edi
mov esi, ecx
mov eax, dword [ebx]
cmp eax, 0x4cf
jg 0x42139e
je 0x421391
cmp eax, 0x79
je 0x421384
cmp eax, 0x4c9
jne 0x4213b3
call fcn.004051f0
mov dword [ebx], 0x274d
jmp 0x4213b0
call fcn.004051f0
mov dword [ebx], 0x274c
jmp 0x4213b0
call fcn.004051f0
mov dword [ebx], 0x2743
jmp 0x4213b0
cmp eax, 0x4d0
jne 0x4213b3
call fcn.004051f0
mov dword [ebx], 0x2751
mov dword [ebx + 4], eax
cmp dword [ebx], 0
jne 0x42141a
cmp esi, 0xffffffff
jne 0x4213d2
call fcn.004051f0
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0x7010
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x42141a
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push 0
mov esi, edx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
push 1
push esi
push edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x4217f4
call fcn.004051f0
mov dword [edi], 0x2746
jmp 0x421806
cmp eax, 0x4d2
jne 0x421809
call fcn.004051f0
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x421817
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x18]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x421840
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push 0
mov esi, edx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push esi
push edi
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x421899
call fcn.004051f0
mov dword [edi], 0x2746
jmp 0x4218ab
cmp eax, 0x4d2
jne 0x4218ae
call fcn.004051f0
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x4218bc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x4218e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
mov esi, edx
mov ebp, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push dword [esp + 0x2c]
push esi
push ebp
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp edi, 0xffffffff
jne 0x42192c
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ebp, 0x17
jne 0x42194b
push 4
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x421970
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp edi, 0xffffffff
jne 0x42199a
call fcn.004051f0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
or eax, edi
mov dword [ecx], 0x2719
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov dword [esi], ecx
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x4219ee
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x421a00
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x421a2c
call fcn.004051f0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [esp + 0x20]
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebp, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test ebp, ebp
js 0x421a8c
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x421a89
or byte [edi], 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
and byte [edi], 0xfc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x421aa0
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
mov ebx, edx
mov ebp, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jne 0x421b19
test ecx, ecx
jne 0x421b19
test edi, edi
jne 0x421b19
mov esi, dword [esp + 0x28]
test esi, esi
je 0x421b3b
mov eax, 0x10624dd3
imul dword [esi + 4]
imul eax, dword [esi], 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
mov eax, 1
cmove ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
call fcn.00404d10
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x28]
test esi, esi
je 0x421b3b
cmp dword [esi], 0
jne 0x421b3b
mov eax, dword [esi + 4]
test eax, eax
jle 0x421b3b
cmp eax, 0x3e8
jge 0x421b3b
mov dword [esi + 4], 0x3e8
push esi
push edi
push ecx
push ebx
push ebp
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x421b75
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x4221f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a130b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
mov dword [edi], vtable.boost::asio::detail::select_reactor.0
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
call fcn.004053d0
mov esi, eax
call fcn.004051f0
mov dword [ebp - 0x18], eax
mov ecx, fcn.004032b0
xor eax, eax
mov dword [ebp - 0x1c], esi
test esi, esi
cmove ecx, eax
test ecx, ecx
je 0x42227c
mov edx, str.mutex
lea ecx, [ebp - 0x1c]
call fcn.00405160
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.00421bc0
push 0x4223f0
push 0x424660
push 4
push 0x1c
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.00466d37
push 0x4086a0
push 0x420e60
push 3
push 0xc
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.00466d37
mov byte [ebp - 4], 4
mov dword [edi + 0xcc], 0
push 0xc
mov byte [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov byte [edi + 0xd8], 0
call fcn.00466738
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 5
push 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00466738
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::binder1_void____cdecl___class_boost::asio::detail::select_reactor____class_boost::asio::detail::select_reactor___.0
push 0
push eax
mov dword [eax + 0xc], 0x422ba0
mov dword [eax + 0x10], edi
call fcn.00416320
mov dword [edi + 0xd4], esi
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 4

Function at 0x428850
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
push ebx
push esi
mov esi, dword [eax]
push edi
cmp esi, 0xffffffff
jne 0x428872
call fcn.004051f0
mov ebx, dword [esp + 0x2c]
mov dword [ebx], 0x2719
jmp 0x4288b7
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [esp + 0x2c]
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004051f0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x4288ba
lea ecx, [esp + 0x10]
call fcn.00404d10
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
pop ebx
add esp, 0x10
ret 0x10
Function at 0x428a30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1eb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d0070]
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
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x10], eax
add ecx, 0x18
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
lea esi, [ecx + 8]
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], esi
push eax
mov ecx, esi
call fcn.00423e50
mov al, byte [ebp + 0x58]
mov ecx, edi
mov byte [esi + 0x30], al
call fcn.00429960
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x428ac5
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x428ac5
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x428add
mov esi, dword [ecx]
lea eax, [ebp + 0x28]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 0x5c

Function at 0x429960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1eb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
sub esp, 0x58
mov eax, dword [ebp + 8]
mov ecx, esp
mov dword [edi], 0
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x10], eax
add ecx, 0x18
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
lea esi, [ecx + 8]
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], esi
push eax
mov ecx, esi
call fcn.00423e50
mov al, byte [ebp + 0x58]
mov ecx, edi
mov byte [esi + 0x30], al
call fcn.0042a890
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x4299f8
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4299f8
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x429a10
mov esi, dword [ecx]
lea eax, [ebp + 0x28]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 0x5c
Function at 0x429a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2108
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4d0070]
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 dword [ebp - 0x78], ecx
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x50]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
add esi, 0x20
push esi
mov dword [ebp - 0x58], eax
call fcn.00427b00
mov al, byte [esi + 0x30]
mov byte [ebp - 0x20], al
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push 0
push edi
push ebx
add ecx, 0x14
mov dword [ebp - 4], 0
call fcn.0042a960
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x429acc
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x429acc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x429ae4
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.004664cd
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42a890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1eb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [edi + 8]
push eax
mov eax, dword [ebp + 8]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x10], eax
add ecx, 0x18
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
lea esi, [ecx + 8]
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], esi
push eax
mov ecx, esi
call fcn.00423e50
mov al, byte [ebp + 0x58]
mov byte [esi + 0x30], al
call fcn.0042b590
xor edx, edx
mov ecx, 0x4b8d28
test al, al
cmove ecx, edx
mov dword [edi], ecx
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x42a932
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42a932
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x42a94a
mov edx, dword [ecx]
lea eax, [ebp + 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x58
Function at 0x42b1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a247f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42b293
mov edi, dword [esi]
push 0x58
call fcn.00466738
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 0x18]
mov ecx, dword [edi]
mov dword [ebx], ecx
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x18]
add edi, 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], eax
add esi, 8
push edi
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00423e50
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x42b2b4
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x42b2dd
mov ecx, dword [ebx]
test ecx, ecx
je 0x42b2c5
push ecx
call fcn.0042b330
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x42b30f
mov eax, dword [ebx]
add eax, 4
push 0x4d54d4
push eax
call fcn.0047e852
add esp, 8
test eax, eax
jne 0x42b2c5
mov eax, dword [esi]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx], vtable.type_info.0
mov word [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2528
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebp + 0x60]
push dword [ebp + 0x60]
sub esp, 0x58
mov ecx, esp
mov dword [ebp + 0x60], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x10], eax
add ecx, 0x18
mov dword [ebp + 0x60], ecx
mov eax, dword [ebp + 0x20]
mov dword [ecx], eax
lea esi, [ecx + 8]
lea eax, [ebp + 0x28]
mov dword [ebp + 0x60], esi
push eax
mov ecx, esi
call fcn.00423e50
mov al, byte [ebp + 0x58]
mov byte [esi + 0x30], al
call fcn.0042b750
mov ecx, dword [ebp + 0x54]
mov bl, al
test ecx, ecx
je 0x42b625
or edx, 0xffffffff
lock xadd dword [ecx + 8], edx
jne 0x42b625
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x42b63d
mov edx, dword [ecx]
lea eax, [ebp + 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5c

Function at 0x42b860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a25a7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d0070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x60]
push 0x58
mov dword [ebp - 4], 0
call fcn.00466738
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
lea ecx, [edi + 0x18]
mov eax, dword [ebp + 0x14]
lea esi, [ecx + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x10], esi
call fcn.00423e50
mov al, byte [ebp + 0x58]
mov byte [esi + 0x30], al
mov ecx, dword [ebp + 0x54]
mov dword [ebx], edi
test ecx, ecx
je 0x42b8fc
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42b8fc
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x42b914
mov edx, dword [ecx]
lea eax, [ebp + 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x60