joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100379c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
mov dword [ebp - 0x100], 0x24712473
push 0x2423
push 0x101217c4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x100]
push 8
push eax
mov dword [ebp - 0xfc], 0x2471247c
mov dword [ebp - 0xf8], 0x24422446
mov dword [ebp - 0xf4], 0x24232447
call fcn.10047290
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10038b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
mov dword [ebp - 0x100], 0x2d672d43
push 0x2d14
push 0x10121878
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x100]
push 0xb
push eax
mov dword [ebp - 0xfc], 0x2d4b2d26
mov dword [ebp - 0xf8], 0x2d262d27
mov dword [ebp - 0xf4], 0x2d702d3a
mov dword [ebp - 0xf0], 0x2d782d78
mov dword [ebp - 0xec], 0x2d14
call fcn.10047290
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100473b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9650
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x40], 0
jne 0x10047408
xor al, al
jmp 0x1004748c
push esi
push 0
xorps xmm0, xmm0
push 0x400
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.10064cf0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1004743f
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x14], 0
sete dl
mov byte [ebp - 0x41], dl
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1004748a
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1004748a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10047487
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dl, byte [ebp - 0x41]
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
Function at 0x1004bea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ca058
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10112840]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10112840]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1004c033
cmp byte [ebx + 0x45], 0
je 0x1004c033
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1004bf00
xor al, al
jmp 0x1004c035
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x1004bf60
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1004bf9b
dec eax
je 0x1004bf9f
sub eax, 2
je 0x1004bffd
xor bl, bl
jmp 0x1004bfff
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1004bfde
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1009fc05
add esp, 0x10
cmp esi, eax
jne 0x1004bf97
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x1004bffd
test esi, esi
jne 0x1004bf60
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.1000aff0
jmp 0x1004bf4f
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1004c01a
push dword [esp + 0x18]
call fcn.1009d598
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x1004c035
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
Function at 0x1004ff10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100caad1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.1004fde0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push esi
push 0x1004fd50
push 0
xorps xmm0, xmm0
push 0
movq qword [edi], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
mov ecx, edi
call fcn.10064cf0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1004ffe5
cmp dword [eax], 0
je 0x1004ffe5
push 0x1011fdec
mov dword [ebp - 0x14], 0x1011fdec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push edi
call fcn.100501d0
mov byte [ebp - 4], 0
push 0x1011fdec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.wtf__cannot_create_the_thread
push eax
lea ecx, [ebp - 0x2c]
call fcn.1009def8
push 0x10110058
lea eax, [ebp - 0x2c]
push eax
call fcn.100a3b6b
int3

Function at 0x10050010
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cab08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1004fde0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.1004fe80
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10050087
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x10050078
mov eax, dword [eax]
push 0x29a
push eax
call ebx
add esi, 8
cmp esi, edi
jne 0x10050070
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100500c1
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
call fcn.100505b0
push dword [ebp - 0x1c]
call fcn.1009d598
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
Function at 0x10058290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc9f9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10112840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.1009df38
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::spirit::classic::parser_error_base.0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_struct_std::_Simple_types_char____.0
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
lea eax, [ebx + 0x10]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10003810
mov dword [ebp - 4], 3
lea esi, [edi + 0x28]
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x2c]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x10058327
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 5
mov dword [edi], 0x100ebdac
mov dword [esi], 0x100ebda4
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x10065a50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0e16
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10112840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
mov dword [esi], 0xffffffff
lea eax, [ebp + 0x1c]
mov dword [esi + 4], 8
mov dword [esi + 8], 0xf
mov dword [esi + 0xc], 8
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10003810
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x34]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10003810
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x4c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 0
cmp dword [ebp + 0x30], 0x10
jb 0x10065b13
push dword [ebp + 0x1c]
call fcn.1009d598
add esp, 4
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x48], 0x10
jb 0x10065b3d
push dword [ebp + 0x34]
call fcn.1009d598
add esp, 4
mov dword [ebp + 0x48], 0xf
mov eax, esi
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x4c
Function at 0x10065f20
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0f50
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
cmp dword [ecx + 0x14], 0x10
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x88], 0x6a09e667
mov dword [ebp - 0x84], 0xbb67ae85
mov dword [ebp - 0x80], 0x3c6ef372
mov dword [ebp - 0x7c], 0xa54ff53a
mov dword [ebp - 0x78], 0x510e527f
mov dword [ebp - 0x74], 0x9b05688c
mov dword [ebp - 0x70], 0x1f83d9ab
mov dword [ebp - 0x6c], 0x5be0cd19
jb 0x10065fb0
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.1008af00
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1008b100
mov edx, 0xf
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], edx
cmp edx, 0x10
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x4c], ecx
movzx eax, word [ebp - 0x30]
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x4c]
cmovae eax, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], 6
mov byte [eax + 6], 0
mov dword [ebp - 4], 0
cmp edx, 0x10
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x2e]
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x64], ecx
movzx eax, word [ebp - 0x2a]
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x64]
cmovae eax, ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 6
mov byte [eax + 6], 0
mov byte [ebp - 4], 1
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.10065e80
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.10065e80
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], 0x10
jb 0x10066081
push dword [ebp - 0x64]
call fcn.1009d598
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 0x10
jb 0x100660ab
push dword [ebp - 0x4c]
call fcn.1009d598
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
Function at 0x10068b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1bab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10112840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
call fcn.10068e60
mov dword [ebp - 4], 0
lea ebx, [edi + 0x18]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x10068ba0
cmp esi, 0xffffffff
ja 0x10068b9b
push esi
call fcn.1009dc41
add esp, 4
test eax, eax
jne 0x10068ba0
call fcn.100991b4
mov dword [ebx], eax
mov eax, esi
cdq
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
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 8

Function at 0x10072b10
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x10112840]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10072b55
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.100bfc70
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10072b68
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
mov edx, 0x100ec664
lea ecx, [esp + 0xc]
call fcn.10072900
int3

Function at 0x10072e60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x10120c48
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x10072ec3
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
push fcn.100042e0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret
Function at 0x10072ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10112840]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x10072f59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.100bfc70
mov dword [esp + 0x14], eax
test esi, esi
jne 0x1007303c
mov esi, dword [esp + 0x18]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x10072fa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.100bfc70
mov dword [esp + 0x14], eax
test esi, esi
jne 0x1007304a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x10073070
push 0
push 0
call fcn.100a0657
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10073018
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x10072fec
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10072ffa
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.100bfc70
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10073058
test edi, edi
je 0x10073028
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.10072900
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.10072900
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.10072900
int3
Function at 0x10073120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3be7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi], vtable.boost::asio::io_service::service.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x1c], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::asio::detail::service_base_class_boost::asio::detail::win_iocp_io_service_.0
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], 0
call fcn.10072b80
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100bfc70
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10073200
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.10072900
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 6
or eax, 0xffffffff
cmp ebx, 0xffffffff
cmovb eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x10073266
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100bfc70
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10073266
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.10072900
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ef2e
mov esp, ebp
pop ebp
ret 8