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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebd05
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000f825
push dword [0x10164654]
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 0x1000f825
cmp dword [eax], esi
je 0x1000f8fb
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f816
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f844
push 0x70
call fcn.100beeb0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10023180
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.10013a40
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.100259a0
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 0x1000f825
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.100136d0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.1001cbb0
nop
lea ecx, [ebp - 0x48]
call fcn.10016cb0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1000f8e7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f8e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000f8e7
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 0x1000f9a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebd45
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000fa05
push dword [0x10164654]
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 0x1000fa05
cmp dword [eax], esi
je 0x1000fa98
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f9f6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000fa24
push 0x64
call fcn.100beeb0
add esp, 4
mov esi, eax
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10023270
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.100137f0
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.100259a0
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 0x1000fa05
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.100137f0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001de20
nop
lea ecx, [ebp - 0x4c]
call fcn.100153e0
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 0x1000fb00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebd85
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000fb65
push dword [0x10164654]
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 0x1000fb65
cmp dword [eax], esi
je 0x1000fc01
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000fb56
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000fb84
push 0x70
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10023320
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.10013340
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.100259a0
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 0x1000fb65
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.10013340
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1001dee0
nop
lea ecx, [ebp - 0x24]
call fcn.10017710
lea ecx, [ebp - 0x5c]
call fcn.10015890
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 0x1000fc90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000fccf
push dword [0x10164654]
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 0x1000fccf
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000fd7f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000fcc0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000fcee
push 0x34
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10023470
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.100259a0
pop edi
pop esi
ret 4
cmp dword [eax + 4], 0
je 0x1000fccf
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 0x1000fdb7
mov eax, dword [eax]
test eax, eax
je 0x1000fdb7
push eax
call fcn.10020630
add esp, 4
nop
test esi, esi
je 0x1000fd7a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000fd7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000fd7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x1000fdf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebdc5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000fe55
push dword [0x10164654]
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 0x1000fe55
cmp dword [eax], esi
je 0x1000fef1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000fe46
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000fe74
push 0x70
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10023500
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.10013340
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.100259a0
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 0x1000fe55
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.10013340
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1001df30
nop
lea ecx, [ebp - 0x24]
call fcn.100177c0
lea ecx, [ebp - 0x5c]
call fcn.100153e0
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 0x1000ff80
Capabilities:
Access peb ldr_data
Get number of processors
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebe05
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000ffe5
push dword [0x10164654]
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 0x1000ffe5
cmp dword [eax], esi
je 0x100100bc
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ffd6
mov ebx, dword [ebx]
mov ecx, 1
lea eax, [ebx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x10010004
push 0x64
call fcn.100beeb0
add esp, 4
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10023650
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.10013440
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.100259a0
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 0x1000ffe5
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.10013790
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001df80
nop
lea ecx, [ebp - 0x54]
call fcn.10016710
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 0x10010120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebe45
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10010185
push dword [0x10164654]
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 0x10010185
cmp dword [eax], esi
je 0x10010221
mov eax, dword [eax + 8]
test eax, eax
jne 0x10010176
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x100101a4
push 0x44
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100237d0
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.100130b0
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.100259a0
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 0x10010185
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.100130b0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001dfd0
nop
lea ecx, [ebp - 0x24]
call fcn.100177c0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1001020d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001020d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1001020d
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 0x100102d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebe85
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10010333
push dword [0x10164654]
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 0x10010333
cmp dword [eax], esi
je 0x10010351
mov eax, dword [eax + 8]
test eax, eax
jne 0x10010328
push dword [0x10164654]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x100103dc
mov eax, dword [eax + 4]
jmp 0x100103de
cmp dword [eax + 4], 0
je 0x10010333
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 0x10010383
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 0x1001046b
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.10007de0
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10023910
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.100259a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 7
call fcn.10026920
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 0x100109f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x100ebfad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1015f6c0]
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.100beeb0
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10010b83
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.100beeb0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10010ac7
mov ecx, ebx
call fcn.100242d0
mov esi, eax
call fcn.100250a0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x10010bb9
lea eax, [edi + 0xc]
mov dword [ebx + 0x1c], esi
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
jmp 0x10010acc
xor ebx, ebx
lea eax, [edi + 0xc]
mov dword [eax], ebx
mov byte [ebp - 4], 2
mov eax, 1
lock xadd dword [0x10164660], eax
inc eax
mov ebx, 0x10164664
cmp eax, 1
jne 0x10010afb
lea eax, [ebp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
xor ebx, ebx
mov eax, 0x10164664
lock xadd dword [eax], ebx
test ebx, ebx
jne 0x10010bc7
push 0x64
mov byte [ebp - 4], 3
call fcn.100beeb0
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
lea ebx, [edi + 0xc]
test eax, eax
je 0x10010b45
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.10015170
jmp 0x10010b47
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.100106a0
mov ecx, dword [ebx]
lea eax, [ebp - 0x18]
add esp, 8
push dword [ebp - 0x10]
push eax
call fcn.10020d70
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
jmp 0x10010b85
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.100bf2d0
lea esp, [ebp + 0x194]
pop ebp
ret
push str.mutex
lea eax, [ebp - 0x24]
push eax
call fcn.10024880
call fcn.100250a0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push str.winsock
push eax
mov dword [ebp - 0x24], ebx
call fcn.10024880
int3
Function at 0x10015170
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec6de
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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.100242d0
mov esi, eax
call fcn.100250a0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x10015309
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 0x10015272
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.100250a0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x10015317
cmp byte [ebp + 0x10], 0
je 0x100152f3
lock inc dword [ebx]
push 0xc
call fcn.100beeb0
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x100152d3
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100beeb0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x100152c6
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.10027b10
jmp 0x100152d5
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.10027b10
jmp 0x100152d5
xor esi, esi
mov ebx, dword [edi + 0x60]
test ebx, ebx
je 0x100152f0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.100beee5
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.10024880
push str.iocp
lea eax, [ebp - 0x18]
push eax
call fcn.10024880
int3