joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e0c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7abb
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x6c], eax
lea eax, [esi + 0x10]
push 0
push eax
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.00420f90
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [esi + 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.004b5780
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
push dword [esi]
mov dword [ebp - 4], 1
lea ecx, [ecx + 0x10]
call fcn.00498480
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test eax, eax
je 0x48e181
test al, 1
jne 0x48e17a
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x48e17a
lea ecx, [ebp - 0x28]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x54], 0x10
jb 0x48e192
push dword [ebp - 0x68]
call fcn.005b7634
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x48e1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x3c]
movq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x30]
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.004b55f0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
push dword [esi]
mov dword [ebp - 4], 0
lea ecx, [ecx + 0x10]
call fcn.004a0d50
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x48e257
test al, 1
jne 0x48e257
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x48e257
lea ecx, [ebp - 0x24]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48e270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x3c]
movq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x30]
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.004b5710
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
push dword [esi]
mov dword [ebp - 4], 0
lea ecx, [ecx + 0x10]
call fcn.004a0e30
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x48e317
test al, 1
jne 0x48e317
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x48e317
lea ecx, [ebp - 0x24]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48f8a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7cd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x48f921
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x48f95d
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x48f95d
mov eax, dword [edi]
lea esp, [esp]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x48f9a7
cmp esi, dword [edx + ecx*8]
jne 0x48f950
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x48f98e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48f9ea
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x48fa0c
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004dce20
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 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 0xc
cmp eax, esi
jne 0x48f9f2
mov dword [ecx], edi
jmp 0x48fa0c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x48fa0c
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004cf0d0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ab230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
dec eax
xor ebx, ebx
push esi
bts ebx, eax
mov dword [ebp - 0x10], eax
push edi
xor edi, edi
cmp eax, 0x20
mov dword [ebp - 0xc], edi
cmovae ecx, ebx
xor ebx, ecx
cmp eax, 0x40
cmovae ecx, ebx
lea ebx, [ebx]
push 8
push edi
xor esi, esi
call fcn.004aea20
mov word [ebp - 2], ax
lea ecx, [esi + 8]
movzx eax, ax
add esp, 8
mov dword [ebp - 8], eax
mov dx, ax
lea ecx, [ecx]
test byte [ebp - 8], 1
mov eax, 0
cmovne eax, ebx
xor esi, eax
mov eax, ebx
and eax, esi
neg eax
sbb eax, eax
add esi, esi
and eax, dword [ebp + 0x10]
shr dx, 1
xor esi, eax
mov word [ebp - 8], dx
dec ecx
jne 0x4ab280
cmp byte [ebp + 0x14], cl
je 0x4ab2e3
mov ecx, dword [ebp - 0x10]
mov eax, 1
mov edx, eax
shl edx, cl
cmp edx, eax
jbe 0x4ab2dd
lea esp, [esp]
mov edi, edx
or edi, eax
mov ecx, edi
and ecx, esi
cmp ecx, edx
je 0x4ab2d0
cmp ecx, eax
jne 0x4ab2d2
xor esi, edi
shr edx, 1
add eax, eax
cmp edx, eax
ja 0x4ab2c0
mov edi, dword [ebp - 0xc]
movzx eax, word [ebp - 2]
jmp 0x4ab2e6
movzx eax, di
movzx ecx, ax
inc edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [eax + ecx*4], esi
mov ecx, 0x100
cmp di, cx
jb 0x4ab260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4acf10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [0x68f4ec]
mov edi, ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4acf35
mov eax, dword [eax + 4]
jmp 0x4acf37
xor eax, eax
push 0x44
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.004928d0
add esp, 0xc
test eax, eax
je 0x4acf5a
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048bf00
jmp 0x4acf5c
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004e87c0
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.004ec420
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4acf90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faf99
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x68f4ec]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4acfd4
mov eax, dword [eax + 4]
jmp 0x4acfd6
xor eax, eax
push 0x80
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.004928d0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4ad014
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048bf90
jmp 0x4ad016
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004e87c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004ec4b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4ad060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fafd9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x68f4ec]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ad0a4
mov eax, dword [eax + 4]
jmp 0x4ad0a6
xor eax, eax
push 0xa0
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.004928d0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4ad0e4
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048c010
jmp 0x4ad0e6
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004e87c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004ec520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4aec60
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x4aec82
mov esi, dword [ebp + 0x14]
mov ecx, esi
push 0x2719
call fcn.0048c390
jmp 0x4aecc1
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [ebp + 0x10]
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x14]
push esi
push eax
call fcn.004a4ba0
add esp, 8
test eax, eax
jne 0x4aecc1
lea ecx, [ebp - 0xc]
call fcn.00487ec0
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
movq xmm0, qword [esi]
mov ecx, dword [esi + 8]
pop esi
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b53d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fba63
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.0043c460
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x38]
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [edx], eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp dword [edx], 0x80
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
lea ecx, [ebp - 0x10]
cmovbe eax, edx
mov byte [ebp - 4], 1
mov esi, dword [eax]
cmp esi, 1
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esi
cmovae eax, ecx
mov dword [ebp + 8], 1
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.004ed240
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x20]
lea edx, [ecx + esi]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x30]
mov dword [eax], edx
mov 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 8

Function at 0x4b7a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f73a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.005ba0e2
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x18]
movq xmm0, qword [edi + 0xc]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00420f90
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [ebp - 4], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4b7af4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 0x4bfbe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fca6d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x44], 0xf
mov dword [edi + 0x40], 0
mov byte [edi + 0x30], 0
xor eax, eax
mov dword [edi + 0x5c], 7
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
lea ecx, [edi + 0x60]
call fcn.004c1460
lea esi, [edi + 0x114]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.004c0bf0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push esi
push eax
call fcn.004ab740
add esp, 8
or ebx, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [edi], ecx
mov esi, dword [edi + 4]
mov dword [edi + 4], edx
test esi, esi
je 0x4bfce2
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4bfce2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4bfce2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4bfd11
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4bfd11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x4bfd11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, edi
mov byte [edi + 0x14], 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 4
Function at 0x4c0ab0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fccd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x686300]
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 ebx, dword [ebp + 8]
push 0x20
mov dword [ebp - 0x1b0], edi
call fcn.005b75e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c0b19
mov ecx, esi
call fcn.004881a0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
jmp 0x4c0b1b
xor esi, esi
mov dword [edi], esi
push 0x68f4f4
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4c0b4f
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x68f4f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x68f4f4
call fcn.0048a940
push 0x60
mov byte [ebp - 4], 2
call fcn.005b75e3
add esp, 8
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4c0b8c
mov ecx, 1
cmp ebx, ecx
cmove ebx, ecx
mov ecx, eax
push ebx
push edi
call fcn.004c1a90
mov esi, eax
jmp 0x4c0b8e
xor esi, esi
mov dword [ebp - 0x1a4], esi
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push 0
push eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.004aa990
mov ecx, dword [edi]
lea eax, [ebp - 0x1ac]
add esp, 8
push esi
push eax
call fcn.004d6950
mov dword [edi + 8], esi
mov eax, edi
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.005b7dc4
mov esp, ebp
pop ebp
ret 4
Function at 0x4c0bf0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcd40
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x686300]
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
push 0x20
mov dword [ebp - 0x1b0], edi
call fcn.005b75e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c0c55
mov ecx, esi
call fcn.004881a0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
jmp 0x4c0c57
xor esi, esi
mov dword [edi], esi
push 0x68f4f4
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4c0c8b
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x68f4f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x68f4f4
call fcn.0048a940
push 0x60
mov byte [ebp - 4], 2
call fcn.005b75e3
add esp, 8
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4c0cbf
push 0xffffffffffffffff
push edi
mov ecx, eax
call fcn.004c1a90
mov esi, eax
jmp 0x4c0cc1
xor esi, esi
mov dword [ebp - 0x1a4], esi
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push 0
push eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.004aa990
mov ecx, dword [edi]
lea eax, [ebp - 0x1ac]
add esp, 8
push esi
push eax
call fcn.004d6950
mov dword [edi + 8], esi
mov eax, edi
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.005b7dc4
mov esp, ebp
pop ebp
ret
Function at 0x4c12d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcec7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x686300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 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 [edi], vtable.boost::asio::detail::select_reactor.0
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004aa990
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x4a36c0
push eax
call fcn.004dc430
lea ecx, [edi + 0x18]
mov dword [edi + 0x14], eax
call fcn.004881a0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.004e5570
push 0x4c36f0
push 0x4b9700
push 4
push 0x1c
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.005be67a
push fcn.004c1d20
push 0x4c1a60
push 3
push 0xc
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.005be67a
mov dword [edi + 0xcc], 0
push 0xc
mov byte [ebp - 4], 4
mov byte [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov byte [edi + 0xd8], 0
call fcn.005b75e3
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4c141d
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005b75e3
add esp, 4
test eax, eax
je 0x4c1409
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::select_reactor::thread_function_.0
mov dword [eax + 0xc], edi
jmp 0x4c140b
xor eax, eax
push 0
push eax
mov ecx, esi
call fcn.004f12f0
mov dword [edi + 0xd4], esi
jmp 0x4c1427
mov dword [edi + 0xd4], 0
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 0x4c1a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd091
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x686300]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x13c], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
push 0x11c
lea eax, [ebp - 0x12c]
mov dword [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.005b99a0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
mov dword [ebp - 0x128], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.004881a0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
test esi, esi
mov dword [edi + 0x5c], esi
cmovns eax, esi
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4c1c3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x68f4b8]
mov edx, eax
test cl, 1
jne 0x4c1c02
or ecx, 1
mov dword [0x68f4b0], 0x25c5e09b
mov eax, vtable.boost::system::detail::system_error_category.0
mov dword [0x68f4b8], ecx
mov dword [0x68f4b4], 0x8fafd21e
mov dword [0x68f4a8], eax
jmp 0x4c1c07
mov eax, dword [0x68f4a8]
mov eax, dword [eax + 0x18]
mov ecx, 0x68f4a8
push edx
mov dword [ebp - 0x138], edx
call eax
mov byte [ebp - 0x134], al
mov dword [ebp - 0x130], 0x68f4a8
test al, al
je 0x4c1c3d
push str.iocp
lea eax, [ebp - 0x138]
push eax
call fcn.00489420
mov eax, edi
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.005b7dc4
mov esp, ebp
pop ebp
ret 8