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

Disassembly:
push 0xffffffffffffffff
push 0x1011577a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebp, ebp
mov edi, ecx
mov dword [esi], ebp
call fcn.1010d600
lea ecx, [esp + 0x2c]
mov dword [esi + 4], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
push esi
mov ecx, edi
push ebp
lea edi, [esp + 0x2c]
mov dword [esp + 0x68], ebp
call fcn.1003ce80
test al, al
jne 0x100e8ac9
mov eax, edi
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
or eax, 0xffffffff
jmp 0x100e8c12
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100e8af8
call fcn.1010d600
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], edi
or edi, 0xffffffff
mov dword [esi], eax
mov dword [esp + 0x10], edi
jmp 0x100e8b04
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
neg ecx
sbb ecx, ecx
test ecx, fcn.1009bff0
je 0x100e8b2c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
or eax, 0xffffffff
jmp 0x100e8c12
cmp dword [esp + 0x10], ebp
jl 0x100e8b67
jg 0x100e8b3c
cmp edi, 0x7a1200
jbe 0x100e8b67
call fcn.1001cc10
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
mov ecx, 0x64
push eax
mov dword [esi], ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
mov eax, 0xfffffffe
jmp 0x100e8c12
mov eax, edi
mov ecx, ebx
call fcn.10041c70
mov ecx, edi
or ecx, dword [esp + 0x10]
jne 0x100e8b82
lea edx, [esp + 0x24]
push edx
jmp 0x100e8c03
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x100e8b90
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x100e8b96
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
push esi
push 1
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.1003d280
cmp eax, edi
jne 0x100e8bbe
cmp edx, dword [esp + 0x10]
je 0x100e8bd7
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
mov eax, 0xfffffffd
jmp 0x100e8c12
mov edx, dword [esi]
neg edx
sbb edx, edx
test edx, fcn.1009bff0
je 0x100e8bfe
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
mov eax, 0xfffffffd
jmp 0x100e8c12
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.1003ce00
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1010defb
add esp, 0x58
ret
Function at 0x100eb3a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011573d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 0x38]
push eax
mov esi, ecx
call fcn.100e8c30
xor eax, eax
mov dword [esp + 0xc0], eax
mov cl, byte [esp + 0xa7]
and cl, 0xf2
lea edx, [esp + 0x34]
or cl, 2
add esi, 0x9c
push edx
mov byte [esp + 0xa8], al
mov byte [esp + 0xab], cl
call fcn.1005eb20
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x1c], eax
jbe 0x100eb438
call edi
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], eax
jbe 0x100eb446
call edi
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov eax, 0x70
mov ecx, eax
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push esi
mov esi, dword [esp + 0x30]
sub esp, 0x14
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
call fcn.100d60a0
add esp, 0x24
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0xc4], 0xffffffff
call fcn.100e8cd0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret 4
Function at 0x100ed490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101156c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0xc]
lea ebx, [esi + 0x48]
push edx
mov dword [ebx], eax
mov dword [esi + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [esi + 0x68], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jne 0x100ed5fe
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
mov dword [esp + 0xc], edi
jle 0x100ed502
mov edi, eax
mov dword [esp + 0xc], edi
mov eax, dword [ebx]
test eax, eax
jle 0x100ed51a
test edi, edi
jne 0x100ed510
mov edi, eax
jmp 0x100ed51a
cmp edi, eax
jge 0x100ed518
lea ebx, [esp + 0xc]
mov edi, dword [ebx]
call fcn.1010d600
push 0
mov eax, edi
cdq
push 0xf4240
push edx
push eax
call fcn.1010e450
push edx
push eax
call fcn.100b5be0
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add esp, 8
add ecx, eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
lea ecx, [esi + 0x28]
adc edi, edx
push ecx
add eax, 0x14
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], edi
call fcn.10025bc0
movzx edx, byte [0x10155791]
xor ecx, ecx
push ecx
mov eax, 0x100ed640
push eax
push edx
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x1c], esp
call fcn.100528d0
lea eax, [esp + 0x2c]
push eax
call fcn.10054fd0
mov dword [esp + 0x4c], 0
mov edi, dword [eax]
mov edx, dword [esi + 0x20]
add esp, 4
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x1c], esp
mov dword [ecx + 8], eax
je 0x100ed5c0
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
add edx, 0x14
lea edi, [esi + 0x28]
push edx
call fcn.100ef230
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100ed5fe
add eax, 8
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x100ed5fe
test eax, eax
je 0x100ed5fe
lea ecx, [eax - 8]
test ecx, ecx
je 0x100ed5fe
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100efc30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10115578
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
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 0x100efc71
cmp dword [edi + 0xb4], eax
je 0x100efdea
xor ebx, ebx
test byte [esp + 0x84], 2
je 0x100efc89
cmp byte [edi + 0x1cd], bl
je 0x100efd51
cmp byte [edi + 0x2ef], bl
je 0x100efcaf
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.100f0320
jmp 0x100efdea
cmp byte [edi + 0x2ee], bl
je 0x100efd51
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.100f1000
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
call fcn.10030910
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.100ef6a0
jmp 0x100efdea
push ebp
lea esi, [esp + 0x34]
call fcn.10015480
cmp dword [esp + 0x30], ebx
jne 0x100efd9c
cmp dword [edi + 0x44], 0xffffffff
je 0x100efd9c
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 0x100efdd5
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.100109c0
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 0x100f0520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10117a19
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
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 0x100f067c
mov cl, byte [ebx + 2]
lea eax, [ebx + 2]
movzx ecx, cl
xor edi, edi
add eax, 1
cmp ecx, edi
jne 0x100f067c
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 0x100f05d8
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.100f1230
jmp 0x100f05eb
cmp ecx, 4
jne 0x100f061a
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.100f1290
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.100f0f00
jmp 0x100f067c
mov cl, byte [eax]
add eax, 1
sub edx, eax
movzx ecx, cl
add edx, ebp
cmp ecx, edx
jg 0x100f067c
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 0x100f064f
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.100f0f80
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.1010defb
add esp, 0x70
ret 8
Function at 0x100f1410
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x100f1425
mov edi, 0x2719
jmp 0x100f1457
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.1010d600
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x100f1461
call fcn.1010d600
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 0x100f41f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101133a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
sub esp, 8
test edi, edi
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, esp
mov dword [esp + 0x4c], esp
mov dword [eax], edi
je 0x100f425c
lea eax, [edi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [esp + 0x20]
call fcn.10055420
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [eax]
test ecx, ecx
mov dword [esi + 8], ecx
je 0x100f4287
add ecx, 8
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0xc], 1
je 0x100f42c5
add eax, 8
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100f42c5
test eax, eax
je 0x100f42c5
lea ecx, [eax - 8]
test ecx, ecx
je 0x100f42c5
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
test edi, edi
mov byte [esp + 0x28], 0
je 0x100f42f0
lea eax, [edi + 8]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100f42f0
test eax, eax
je 0x100f42f0
lea ecx, [eax - 8]
test ecx, ecx
je 0x100f42f0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x100f87a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1010f523
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1014d0cc]
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.10054b00
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 0x100f97d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010f4e3
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]
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.100fb620
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 0x100fdf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10120d08
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1014d0cc]
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 0x100fdfd0
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, edi
call fcn.100fe3e0
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x100fdffd
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100fdffd
push esi
call fcn.100f5730
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 0x10101cd0
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x10101ce5
mov edi, 0x2719
jmp 0x10101d17
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.1010d600
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x10101d21
call fcn.1010d600
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 0x10101de0
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x10101df5
mov edi, 0x2719
jmp 0x10101e2d
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 0x1001
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]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
jne 0x10101e37
call fcn.1010d600
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 0x10101f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10112be8
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.100010c0
mov dword [esi], vtable.std::length_error.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x10101faa
add edi, 0x28
jmp 0x10101fac
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 0x10101fc4
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 0x1010c630
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1010ee68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x1010c090
push 0x10154c24
call fcn.1010c2a0
mov eax, dword [0x10154c2c]
add esp, 8
test eax, eax
je 0x1010c68a
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call dword [sym.imp.MSVCR80.dll_public:_void___thiscall_std::exception::constructor_void_]
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.10009680
int3

Function at 0x1010c6c0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1010ee98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x10154c2c]
test eax, eax
jne 0x1010c6f2
xor esi, esi
jmp 0x1010c6fb
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
je 0x1010c727
cmp dword [esi + 0x14], 0
jne 0x1010c769
cmp dword [esi + 0x10], 0
jne 0x1010c770
push 0
call fcn.1010c630
add esp, 4
test esi, esi
mov dword [esp + 0x20], 0xffffffff
je 0x1010c755
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1010c755
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x1010c7b0
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1010c79e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x1010c770
cmp dword [esi + 0x14], 0
je 0x1010c717
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1010c7d5
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1010c806
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1010c806
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 0x1010c806
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x1010c7ba
jmp 0x1010c711