joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5193a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x34]
sub esp, 0x3c
mov esi, esp
mov dword [esp + 0x4c], esp
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x78]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x94]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
push eax
push ecx
push edx
push esi
lea ebx, [esp + 0x5c]
call fcn.00474c80
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x4c
cmp esi, ecx
je 0x4717f5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x3c]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x472ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516ab8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
push edx
mov dword [esi], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x24
Function at 0x473350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x517ae8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x20]
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
lea ecx, [eax + 0xc]
lea eax, [esp + 0x50]
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00473640
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x38

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

Disassembly:
push 0xffffffffffffffff
push 0x51b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ecx, edi
sub ecx, ebx
sar ecx, 3
lea eax, [ecx + 1]
cdq
sub eax, edx
sar eax, 1
xor esi, esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x34]
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x10], edx
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push ebx
call fcn.00476420
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp eax, esi
je 0x47455d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x4759c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x475a21
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x532644
test esi, esi
mov dword [edi], eax
je 0x475a67
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x475a67
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x475a67
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x475cb1
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x53265c
test esi, esi
mov dword [edi], eax
je 0x475cf7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x475cf7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x475cf7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x4760d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5193d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 8], esi
je 0x47612a
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479ff0
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x532664
test esi, esi
mov dword [edi], eax
je 0x476168
lea eax, [esi + 4]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x476168
test eax, eax
je 0x476168
lea ecx, [eax - 4]
test ecx, ecx
je 0x476168
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x5193d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 8], esi
je 0x4761da
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479ff0
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x53266c
test esi, esi
mov dword [edi], eax
je 0x476218
lea eax, [esi + 4]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x476218
test eax, eax
je 0x476218
lea ecx, [eax - 4]
test ecx, ecx
je 0x476218
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x47b960
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x51b8f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea esi, [ebp + ebp + 2]
cmp esi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ebp
jge 0x47ba19
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*8]
mov ebx, dword [edi + eax + 4]
cmp ebx, dword [edx + eax - 0x24]
ja 0x47b9cb
jb 0x47b9c8
mov edi, dword [edi + eax]
cmp edi, dword [edx + eax - 0x28]
jae 0x47b9cb
sub esi, 1
lea edx, [esi + esi*4]
lea edi, [ecx + edx*8]
lea eax, [ebp + ebp*4]
lea ebp, [ecx + eax*8]
mov ecx, dword [edi]
mov dword [ebp], ecx
mov edx, dword [edi + 4]
lea eax, [ebp + 8]
lea ebx, [edi + 8]
push eax
mov dword [ebp + 4], edx
call fcn.00475410
mov ecx, dword [edi + 0x18]
mov dword [ebp + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [ebp + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [ebp + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [ebp + 0x24], ecx
mov ebp, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x47b9a1
mov edi, dword [esp + 0x30]
cmp esi, edi
jne 0x47ba5f
mov eax, dword [esp + 0x28]
lea edx, [edi + edi*4]
lea esi, [eax + edx*8 - 0x28]
mov edx, dword [esi]
lea ecx, [ebp + ebp*4]
lea ebp, [eax + ecx*8]
mov dword [ebp], edx
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
lea ebx, [esi + 8]
push ecx
mov dword [ebp + 4], eax
call fcn.00475410
mov edx, dword [esi + 0x18]
mov dword [ebp + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x20]
mov dword [ebp + 0x20], ecx
mov edx, dword [esi + 0x24]
mov dword [ebp + 0x24], edx
lea ebp, [edi - 1]
mov eax, dword [esp + 0x48]
sub esp, 0x28
mov esi, esp
mov dword [esi], eax
mov ecx, dword [esp + 0x74]
lea edi, [esi + 8]
lea ebx, [esp + 0x78]
mov dword [esp + 0x58], esp
mov dword [esi + 4], ecx
call fcn.0041bfb0
mov edx, dword [esp + 0x88]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x5c]
sub esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x64]
push edx
push eax
mov ecx, ebp
call fcn.0047c790
mov eax, dword [esp + 0x98]
add esp, 0x44
test eax, eax
mov dword [esp + 0x4c], 0
je 0x47bb03
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x47d5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b818
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
sub esp, 0xc
test esi, esi
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x44], esp
mov dword [eax + 4], esi
je 0x47d60a
lea ecx, [esi + 4]
mov edi, 1
lock xadd dword [ecx], edi
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx]
add ecx, eax
call edx
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x47d65b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47d65b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47d65b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c

Function at 0x47e780
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x517a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov dword [edi], vtable.libtorrent::alert.0
mov ecx, dword [0x55dcc8]
mov dword [edi + 8], ecx
mov edx, dword [0x55dccc]
mov dword [edi + 0xc], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], 0
mov dword [edi + 0x10], ecx
mov dword [edi], vtable.libtorrent::portmap_error_alert.0
mov dword [edi + 0x14], edx
mov ecx, dword [eax]
lea ebp, [edi + 0x18]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
lea ebx, [edi + 0x20]
mov ecx, ebx
mov dword [ebp + 4], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea esi, [esp + 0x14]
mov eax, ebp
mov byte [esp + 0x38], 1
call fcn.00401430
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 2
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x38], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x481e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526e10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xbb0]
cmp eax, 2
je 0x481ea8
cmp eax, 3
je 0x481ea8
cmp eax, 1
jne 0x482069
lea edi, [esi + 0xa90]
xor ebp, ebp
cmp dword [edi], ebp
jne 0x482069
push 0x108
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x481ed8
lea ecx, [esi + 0x374]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov ebx, eax
jmp 0x481eda
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.00473fd0
push ebx
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.004b2590
add esp, 0xc
lea eax, [esp + 0x14]
mov dword [esp + 0x78], ebp
call fcn.0040a3d0
mov dword [esp + 0x78], 0xffffffff
mov ebx, dword [esp + 0x18]
cmp ebx, ebp
je 0x481f3e
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x481f3e
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x481f3e
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [edi]
push ebp
push ebp
lea ecx, [esi + 0xb58]
call fcn.004e3fa0
mov eax, dword [edi]
add esp, 8
cmp dword [eax + 4], 2
jne 0x481f5b
lea ebp, [eax + 8]
mov eax, 2
mov dword [ebp + 0xf8], eax
cmp word [esi + 0xa30], ax
movzx eax, word [esi + 0xa32]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
test ax, ax
mov word [esi + 0xa98], ax
jne 0x481fa5
call fcn.004ac150
xor edx, edx
mov ecx, 0xea60
div ecx
add edx, 0x7d0
mov word [esi + 0xa98], dx
xor eax, eax
sub esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
mov edx, 0x483360
mov dword [esp + 0x1c], esp
mov dword [ecx + 4], eax
je 0x481fed
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
push ebx
push edx
movzx edx, byte [0x55dcd1]
push edx
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0048bf30
add esp, 0x1c
mov ebx, eax
mov dword [esp + 0x78], 1
movzx ecx, word [esi + 0xa98]
lea edi, [esp + 0x34]
lea esi, [esp + 0x50]
call fcn.00439600
push ebp
mov ecx, ebx
mov edx, esi
call fcn.0048c060
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x482069
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x482069
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x482069
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526e10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0xa9c]
xor ebp, ebp
cmp eax, ebp
je 0x482301
cmp dword [eax + 4], 0xffffffff
je 0x482301
cmp dword [ebx + 0xb48], ebp
je 0x482301
cmp dword [ebx + 0xb50], ebp
lea edi, [ebx + 0xb50]
jne 0x482301
push 0x108
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x482187
lea ecx, [ebx + 0x374]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov esi, eax
jmp 0x482189
xor esi, esi
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.00473fd0
push esi
lea edx, [esp + 0x18]
push esi
push edx
call fcn.004b2590
add esp, 0xc
lea eax, [esp + 0x14]
mov dword [esp + 0x78], ebp
call fcn.0040a3d0
mov dword [esp + 0x78], 0xffffffff
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x4821ed
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4821ed
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4821ed
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [edi]
push ebp
push ebp
lea ecx, [ebx + 0xaa4]
call fcn.004e3fa0
mov eax, dword [edi]
add esp, 8
cmp dword [eax + 4], 5
jne 0x48220a
lea ebp, [eax + 8]
mov dword [ebp + 0xa4], 3
cmp dword [ebx + 0xb38], 0x10
jb 0x482225
mov eax, dword [ebx + 0xb24]
jmp 0x48222b
lea eax, [ebx + 0xb24]
mov dword [ebp + 0xa0], eax
xor eax, eax
sub esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
mov edx, 0x482320
mov dword [esp + 0x1c], esp
mov dword [ecx + 4], eax
je 0x482279
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
push esi
push edx
movzx edx, byte [0x55dcd1]
push edx
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.0048bf30
add esp, 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], 1
movzx eax, word [ebx + 0xa32]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
lea edi, [esp + 0x34]
lea esi, [esp + 0x50]
call fcn.00439600
mov ecx, dword [esp + 0x14]
push ebp
call fcn.0048c300
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x482301
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x482301
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x482301
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ac40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51ec4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 4]
push 0x490480
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 0x55ab20
mov dword [esp + 0x18], 0
call fcn.00434260
mov dword [edi], eax
lea esi, [edi + 4]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, 2
mov dword [esi + 0x20], ecx
mov byte [esi + 0x24], al
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov word [esi + 0x28], cx
mov word [esi + 0x2a], ax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
add ecx, 0x14
push ecx
call fcn.00437e00
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x48ee10
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x48ee25
mov edi, 0x2719
jmp 0x48ee5a
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 4
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.005147f0
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x48ee64
call fcn.005147f0
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp + 4], eax
pop edi
mov dword [ebp], edx
mov eax, ebp
pop ebp
pop ebx
ret 8

Function at 0x48ee80
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x48ee95
mov edi, 0x2719
jmp 0x48eec7
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.005147f0
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x48eed1
call fcn.005147f0
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp + 4], eax
pop edi
mov dword [ebp], edx
mov eax, ebp
pop ebp
pop ebx
ret 8