joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eb960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5168a3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov byte [esi], 0
call fcn.004eef20
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x10], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0
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 ecx, [esi + 0x4c]
mov byte [esp + 0x10], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4ec9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516863
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 esi, dword [esp + 0x1c]
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 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_]
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edi, [esi + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ee9e0
mov eax, dword [edi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4ee8b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51ca78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx], 0
mov eax, dword [esp + 0x64]
jne 0x4ee8f4
lea eax, [esp + 8]
push eax
call fcn.004198e0
push eax
mov dword [esp + 0x3c], 0
call fcn.0041f040
mov edx, dword [esp + 0x60]
push eax
push edx
mov edx, dword [esp + 0x4c]
sub esp, 0x1c
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x18], edx
mov eax, dword [ecx]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], esp
and eax, 0xfffffffe
mov eax, dword [eax + 4]
push edx
add ecx, 8
push ecx
call eax
add esp, 0x2c
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret 0x28

Function at 0x4f1360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5274d8
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 eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4f13b0
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, edi
call fcn.004f17c0
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x4f13dd
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f13dd
push esi
call fcn.004e8890
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x4f69b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525b98
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 eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4f6a00
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, edi
call fcn.004f6b90
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x4f6a2d
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f6a2d
push esi
call fcn.0048d060
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x4f6a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525b98
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 eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4f6aa0
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, edi
call fcn.004f6c20
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x4f6acd
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f6acd
push esi
call fcn.0048d060
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x4f6af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525b98
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 eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
push eax
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x4f6b40
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, edi
call fcn.004f6cb0
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x4f6b6d
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f6b6d
push esi
call fcn.0048d060
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x4f6ee0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x525b75
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov ebx, ecx
lea eax, [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
push ecx
mov eax, 0x40
call fcn.00419a20
mov esi, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp esi, eax
mov byte [esp + 0x30], 2
je 0x4f6f72
mov eax, dword [ebx + 8]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
test eax, eax
lea edx, [esp + 0x48]
mov dword [esp + 0x44], esp
mov dword [ecx + 4], eax
je 0x4f6f69
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, edi
mov ecx, ebp
call fcn.004f71d0
mov byte [esp + 0x30], 1
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x20], ecx
lea ecx, [eax + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
push 1
lea edx, [esp + 0x28]
push edx
push ecx
mov dword [esp + 0x2c], eax
call fcn.004384f0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f6fd0
mov esi, eax
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4f6fd0
test esi, esi
je 0x4f6fd0
push esi
call fcn.0048d060
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x4f7bc0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x94
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp dword [ecx], 1
push esi
push edi
jne 0x4f7cd4
lea eax, [esp + 0x6c]
push eax
call fcn.00438f60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0xc]
xor edi, edi
lea eax, [esp + 0x80]
push eax
lea eax, [edi + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0xc3d2e1f0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call fcn.004a3e20
xor eax, eax
add esp, 4
mov ecx, esi
lea edi, [esp + 0x80]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.004a3d20
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x90]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00515015
add esp, 0x94
ret
lea eax, [esp + 0xc]
push eax
call fcn.00438ef0
mov ecx, dword [eax]
xor edi, edi
lea edx, [esp + 0xc]
push edx
lea eax, [edi + 4]
lea esi, [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0xc3d2e1f0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call fcn.004a3e20
xor eax, eax
add esp, 4
mov ecx, esi
lea edi, [esp + 0x80]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.004a3d20
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [ebx], eax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.00515015
add esp, 0x94
ret
Function at 0x4f8400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51ca48
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x44], eax
jne 0x4f8441
cmp dword [edi + 0xb4], eax
je 0x4f85ba
xor ebx, ebx
test byte [esp + 0x84], 2
je 0x4f8459
cmp byte [edi + 0x1cd], bl
je 0x4f8521
cmp byte [edi + 0x2ef], bl
je 0x4f847f
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004f8c00
jmp 0x4f85ba
cmp byte [edi + 0x2ee], bl
je 0x4f8521
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov word [esp + 0x30], 2
mov word [esp + 0x32], bx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea edx, [esp + 0x30]
add edi, 0x310
push edx
mov esi, edi
mov dword [esp + 0x70], ebx
call fcn.004f94e0
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
call fcn.0049ff50
mov edx, dword [esp + 0x7c]
mov edi, eax
mov ecx, 7
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x78]
lea esi, [eax + 0x20]
mov dword [eax + 0x2c], ecx
lea eax, [ebx + edx]
push eax
mov eax, dword [esi]
call fcn.004f7e20
jmp 0x4f85ba
push ebp
lea esi, [esp + 0x34]
call fcn.00439710
cmp dword [esp + 0x30], ebx
jne 0x4f856c
cmp dword [edi + 0x44], 0xffffffff
je 0x4f856c
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov ax, word [ebp]
sub ax, 2
neg ax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x18]
sbb eax, eax
and eax, 0xc
add eax, 0x10
push eax
movzx eax, byte [edi + 0x48]
jmp 0x4f85a5
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov ax, word [ebp]
sub ax, 2
neg ax
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0xb4]
lea edx, [esp + 0x24]
sbb eax, eax
and eax, 0xc
add eax, 0x10
push eax
movzx eax, byte [edi + 0xb8]
push 1
push edx
push eax
mov eax, dword [esp + 0x90]
mov ebx, ebp
call fcn.00434c40
add esp, 0x10
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x14
Function at 0x4f8e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51e9a9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
cmp ebp, 0xa
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ebx, edx
jle 0x4f8f5c
mov cl, byte [ebx + 2]
lea eax, [ebx + 2]
movzx ecx, cl
xor edi, edi
add eax, 1
cmp ecx, edi
jne 0x4f8f5c
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov word [esp + 0x3c], 2
mov word [esp + 0x3e], di
mov dword [esp + 0x40], edi
mov cl, byte [eax]
movzx ecx, cl
add eax, 1
cmp ecx, 1
mov dword [esp + 0x14], eax
jne 0x4f8eb8
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.00470810
jmp 0x4f8ecb
cmp ecx, 4
jne 0x4f8efa
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004f97e0
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
sub ebx, eax
add ebx, ebp
push ebx
mov ecx, 7
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.004f93e0
jmp 0x4f8f5c
mov cl, byte [eax]
add eax, 1
sub edx, eax
movzx ecx, cl
add edx, ebp
cmp ecx, edx
jg 0x4f8f5c
lea esi, [ecx + eax]
push esi
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___char_const__]
mov dword [esp + 0x80], edi
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x4f8f2f
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x18]
sub ebx, esi
add ebx, ebp
push ebx
push esi
push eax
mov eax, dword [esp + 0x28]
push eax
add ecx, 0x20
call fcn.004f9460
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 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 ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00515015
add esp, 0x70
ret 8
Function at 0x4fcc30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51e979
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 eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x34]
cmp edi, ecx
mov dword [esi], edx
mov edx, dword [eax]
mov dword [esi + 4], edx
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
je 0x4fcc9c
lea eax, [edi + 4]
mov edx, 1
lock xadd dword [eax], edx
cmp edi, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 1
je 0x4fccd6
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4fccd6
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4fccd6
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4fd0e0
Capabilities:
Access peb ldr_data

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 ecx, dword [esp + 0x24]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x10], esp
je 0x4fd134
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004fce00
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4fd182
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4fd182
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 0x4fd182
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
Function at 0x4feb20
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x4feb35
mov edi, 0x2719
jmp 0x4feb67
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 0xe
push 0
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 0x4feb71
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 0x4fee50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5174c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00401160
mov dword [esi], vtable.std::length_error.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x4fee9a
add edi, 0x28
jmp 0x4fee9c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4feeb4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::length_error_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::length_error_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x508d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e899
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
cmp edi, ecx
mov dword [esi], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
je 0x508dcc
lea edx, [edi + 4]
mov ebx, 1
lock xadd dword [edx], ebx
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
cmp edi, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], 1
je 0x508e11
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x508e11
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x508e11
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x509d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518f38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0041c2c0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004d4980
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x509dbd
test al, 1
jne 0x509dbd
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x509dbd
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret