joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433310
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x433338
pop edi
or eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0xffffffff
jne 0x43335a
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x4364f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x4364fc
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x43658f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x436559
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.004365a0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x43652e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x4365c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x4366bd
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x436612
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x43663e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004365a0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x43667f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x436601
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x439210
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x450a6c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x439223
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x439264
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x450b14]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x439296
mov bl, byte [esp + ecx + 0x4c]
jmp 0x43929a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x43928b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4392b8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4392bc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4392ad
xor ecx, ecx
mov eax, 0x450a7c
xor ebx, ebx
mov bl, byte [ecx + 0x450b24]
cmp byte [esp + ebx + 0x14], 0
je 0x4392e7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x450b3c]
cmp byte [esp + ebx + 0x14], 0
je 0x4392fe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4392ce
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x439257
lea edx, [esp + 0x84]
push edx
call fcn.00439340
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x10003310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10112ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
add ecx, 0x2c
push eax
call fcn.10100690
add esp, 4
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.10009790
test eax, eax
lea ecx, [esp + 0xc]
sete bl
mov dword [esp + 0x30], 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 al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret
Function at 0x10006e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1012208f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 8], 5
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], 8
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xc8
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, 3
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov byte [esp + 0x18], al
mov byte [esi + 0x58], bl
call fcn.1009c7c0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
push 4
mov byte [esp + 0x1c], 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x18], 5
je 0x10006f0a
push esi
mov ecx, 0x10006280
push ecx
push eax
call fcn.10009b30
jmp 0x10006f0c
xor eax, eax
mov byte [esp + 0x18], 4
mov edi, dword [esi + 0x54]
cmp edi, ebx
mov dword [esi + 0x54], eax
je 0x10006f2b
mov ecx, edi
call fcn.1010c580
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
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 8

Function at 0x10009680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10115258
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.1000a4b0
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x70], 0
call fcn.1000a510
add esp, 0x10
push 0x10135b94
lea eax, [esp + 0x30]
push eax
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x1000b6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010f3d3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 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 dword [esp + 0x38], 1
mov eax, dword [esi]
cmp eax, ebp
jne 0x1000b759
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [ebx], 1
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__]
jmp 0x1000b78f
mov cl, byte [esp + 0x44]
cmp byte [eax], cl
je 0x1000b782
mov edx, dword [esi]
movzx eax, byte [edx]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
add dword [esi], 1
cmp dword [esi], ebp
je 0x1000b7c4
mov ecx, dword [esi]
mov dl, byte [esp + 0x44]
cmp byte [ecx], dl
jne 0x1000b761
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
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 + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 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_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1010defb
add esp, 0x34
ret
lea eax, [esp + 0x10]
mov byte [ebx], 1
push eax
jmp 0x1000b787

Function at 0x1000c240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010fc31
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
push str.call_to_empty_boost::function
lea ecx, [esp + 0xc]
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__]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1000c0e0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 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_]
mov dword [esi], vtable.boost::bad_function_call.0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4
Function at 0x1000cfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e473
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000c5d0
push str._banned_peer
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 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_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x1000d020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e473
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000c5d0
push str._peer_unsnubbed
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 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_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x1000d0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e473
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000c5d0
push str._peer_snubbed
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 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_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x1000dab0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x10]
test eax, eax
mov bl, 1
je 0x1000db0d
mov ebx, dword [edi + 0xc]
add eax, ebx
cmp ebx, eax
mov dword [esp + 0x18], 0
jbe 0x1000dae8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call fcn.1010a780
mov edi, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [edi + 0x10], 0
jne 0x1000db6e
mov edi, edi
test bl, bl
je 0x1000db2d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
push 0x32
call sub.KERNEL32.dll_Sleep
test bl, bl
jne 0x1000db41
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, 1
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 0xc]
jg 0x1000db8b
jl 0x1000db68
cmp ecx, dword [ebp + 8]
jae 0x1000db8b
cmp dword [edi + 0x10], 0
je 0x1000db20
call fcn.10083110
test bl, bl
mov edi, dword [eax]
je 0x1000db80
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test bl, bl
je 0x1000db96
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e473
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000c520
push str._added
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 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_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x1000e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e473
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000c520
push str._removed
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 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_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x1000eac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10110e78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1014d0cc]
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.1000c1a0
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x1000eb0a
add edi, 0x28
jmp 0x1000eb0c
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 0x1000eb24
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_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.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 0x1000f7a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1011964c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.boost::asio::detail::select_reactor.0
mov ecx, esi
mov dword [esp + 0x14], 4
call fcn.1000f840
push 0x1000f590
push 3
push 0xc
lea eax, [esi + 0xc8]
push eax
mov byte [esp + 0x24], 3
call fcn.1010dfe0
push 0x1000f790
push 4
push 0x24
lea ecx, [esi + 0x38]
push ecx
mov byte [esp + 0x24], 2
call fcn.1010dfe0
lea edi, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.10012570
lea edx, [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esi], vtable.boost::asio::io_service::service.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x100101a0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
cmp dword [esi], 0x40
push ebx
push ebp
push edi
mov ebx, eax
jne 0x100101bc
mov edi, 0x2745
call fcn.1010d600
mov dword [esi], edi
mov dword [esi + 4], eax
xor ebp, ebp
cmp dword [esi], ebp
jne 0x1001029d
cmp dword [esp + 0x30], ebp
je 0x10010233
cmp ebx, ebp
je 0x10010233
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
push eax
push eax
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call sub.MSWSOCK.dll_GetAcceptExSockaddrs
mov edi, dword [esp + 0xc]
cmp edi, dword [ebx]
jbe 0x1001021e
mov edi, 0x2726
call fcn.1010d600
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x10010233
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push edi
push edx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov dword [ebx], edi
mov edi, dword [esp + 0x34]
cmp edi, 0xffffffff
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
jne 0x1001025a
mov edi, 0x2719
call fcn.1010d600
mov dword [esi + 4], eax
mov dword [esi], edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea edx, [esp + 0x20]
push edx
push 0x700b
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1010d600
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, ebp
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x1001029d
xor edi, edi
call fcn.1010d600
mov dword [esi + 4], eax
mov dword [esi], edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret