joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100371d5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e3f5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e3f5
cmp dword [eax], esi
je 0x1000e4cb
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e3e6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e414
push 0x70
call fcn.100293e4
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10021ae0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edx]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edx + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x34], eax
lea eax, [edx + 0x18]
push eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
call fcn.10012610
mov eax, dword [edi]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000e3f5
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.100122a0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.1001b610
nop
lea ecx, [ebp - 0x48]
call fcn.10015750
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1000e4b7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e4b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e4b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e570
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037215
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e5d5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e5d5
cmp dword [eax], esi
je 0x1000e668
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e5c6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e5f4
push 0x64
call fcn.100293e4
add esp, 4
mov esi, eax
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10021bd0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.100123c0
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000e5d5
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.100123c0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001c870
nop
lea ecx, [ebp - 0x4c]
call fcn.10013eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e6d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037255
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e735
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e735
cmp dword [eax], esi
je 0x1000e7d1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e726
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e754
push 0x70
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10021c80
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011f10
mov eax, dword [edi]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000e735
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10011f10
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1001c930
nop
lea ecx, [ebp - 0x24]
call fcn.100161b0
lea ecx, [ebp - 0x5c]
call fcn.10014360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e860
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e89f
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e89f
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000e94f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e890
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e8be
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10021dd0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
mov eax, dword [edi]
mov dword [edx + 0x30], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
pop edi
pop esi
ret 4
cmp dword [eax + 4], 0
je 0x1000e89f
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [eax + 0xc]
nop
cmp byte [eax + 0x10], 0
je 0x1000e987
mov eax, dword [eax]
test eax, eax
je 0x1000e987
push eax
call fcn.1001f000
add esp, 4
nop
test esi, esi
je 0x1000e94a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e94a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e94a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x1000e9c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037295
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ea25
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000ea25
cmp dword [eax], esi
je 0x1000eac1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ea16
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ea44
push 0x70
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10021e60
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011f10
mov eax, dword [edi]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000ea25
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10011f10
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1001c980
nop
lea ecx, [ebp - 0x24]
call fcn.10016260
lea ecx, [ebp - 0x5c]
call fcn.10013eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000eb50
Capabilities:
Access peb ldr_data
Get number of processors
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100372d5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 4]
test al, 1
jne 0x1000ebb5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000ebb5
cmp dword [eax], esi
je 0x1000ec8c
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000eba6
mov ebx, dword [ebx]
mov ecx, 1
lea eax, [ebx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ebd4
push 0x64
call fcn.100293e4
add esp, 4
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10021fb0
mov dword [ebx], 0
lea edi, [ecx + 4]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [ecx]
lea ecx, [ebx + 0x24]
push edi
mov dword [ebx + 0x20], eax
call fcn.10012010
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x58], eax
mov al, byte [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebx + 0x5c], al
mov byte [edi + 0x38], 0
mov eax, dword [ecx]
mov dword [ebx + 0x60], eax
mov ecx, dword [ecx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push ebx
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000ebb5
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.10012360
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001c9d0
nop
lea ecx, [ebp - 0x54]
call fcn.100151b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ecf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037315
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ed55
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000ed55
cmp dword [eax], esi
je 0x1000edf1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ed46
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ed74
push 0x44
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022130
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011c80
mov eax, dword [edi]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000ed55
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10011c80
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001ca20
nop
lea ecx, [ebp - 0x24]
call fcn.10016260
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1000eddd
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000eddd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000eddd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000eea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037355
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x1000ef03
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x1000ef03
cmp dword [eax], esi
je 0x1000ef21
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000eef8
push dword [0x10049c9c]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x1000efac
mov eax, dword [eax + 4]
jmp 0x1000efae
cmp dword [eax + 4], 0
je 0x1000ef03
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [eax], 0
mov dword [ebp - 4], 0
nop
mov byte [ebp - 4], 2
test esi, esi
je 0x1000ef53
mov ecx, esi
xor esi, esi
push 1
push ecx
mov dword [ebp + 8], esi
mov eax, dword [ecx]
call eax
add esp, 8
nop
mov dword [ebp - 4], 3
test esi, esi
je 0x1000f03b
mov eax, dword [esi]
push 0
push esi
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 4
push 0x28
push eax
push dword [ebp + 8]
call fcn.100069d0
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022270
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
mov dword [ecx], 0
mov edx, dword [edi + 4]
mov eax, edx
and eax, 0xfffffffc
shr edx, 1
and dl, 1
mov ecx, dword [eax + 8]
mov al, dl
push eax
push esi
call fcn.100242a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 7
call fcn.10025220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f5c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x1003747d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10048140]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x19c]
mov ebx, dword [ebp + 0x1a0]
push 0x18
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.100293e4
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1000f753
xorps xmm0, xmm0
lea eax, [edi + 0xc]
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_asio::io_context_.0
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0x20
mov dword [ebp - 0x14], eax
call fcn.100293e4
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x1000f697
mov ecx, ebx
call fcn.10022c30
mov esi, eax
call fcn.10023a00
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x1000f789
lea eax, [edi + 0xc]
mov dword [ebx + 0x1c], esi
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
jmp 0x1000f69c
xor ebx, ebx
lea eax, [edi + 0xc]
mov dword [eax], ebx
mov byte [ebp - 4], 2
mov eax, 1
lock xadd dword [0x10049ca8], eax
inc eax
mov ebx, 0x10049cac
cmp eax, 1
jne 0x1000f6cb
lea eax, [ebp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
xor ebx, ebx
mov eax, 0x10049cac
lock xadd dword [eax], ebx
test ebx, ebx
jne 0x1000f797
push 0x64
mov byte [ebp - 4], 3
call fcn.100293e4
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
lea ebx, [edi + 0xc]
test eax, eax
je 0x1000f715
mov ecx, dword [ebp - 0x14]
mov edx, 1
cmp ecx, 1
push 0
cmove ecx, edx
push ecx
push ebx
mov ecx, eax
call fcn.10013c40
jmp 0x1000f717
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000f270
mov ecx, dword [ebx]
lea eax, [ebp - 0x18]
add esp, 8
push dword [ebp - 0x10]
push eax
call fcn.1001f6d0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
jmp 0x1000f755
xor edi, edi
lea ecx, [edi + 0xc]
mov dword [esi + 4], 0
mov dword [esi], ecx
mov eax, esi
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.10029804
lea esp, [ebp + 0x194]
pop ebp
ret
push str.mutex
lea eax, [ebp - 0x24]
push eax
call fcn.100231e0
call fcn.10023a00
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push str.winsock
push eax
mov dword [ebp - 0x24], ebx
call fcn.100231e0
int3
Function at 0x10013c40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037b9e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
lea ebx, [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [ebx], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.10022c30
mov esi, eax
call fcn.10023a00
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x10013dd9
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], esi
or eax, 0xffffffff
mov byte [ebp - 4], 6
test ecx, ecx
cmovns eax, ecx
push eax
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x10013d42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.10023a00
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x10013de7
cmp byte [ebp + 0x10], 0
je 0x10013dc3
lock inc dword [ebx]
push 0xc
call fcn.100293e4
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10013da3
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100293e4
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10013d96
push 0
push eax
mov ecx, esi
mov dword [eax], vtable.asio::detail::win_thread::func_struct_asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], edi
call fcn.10026410
jmp 0x10013da5
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.10026410
jmp 0x10013da5
xor esi, esi
mov ebx, dword [edi + 0x60]
test ebx, ebx
je 0x10013dc0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.10029419
add esp, 8
mov dword [edi + 0x60], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.mutex
lea eax, [ebp - 0x18]
push eax
call fcn.100231e0
push str.iocp
lea eax, [ebp - 0x18]
push eax
call fcn.100231e0
int3