joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458bdc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x458bf3
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423bd4
mov eax, dword [0x4a4348]
cmp word [eax + 2], 0
jne 0x458c1b
mov eax, dword [0x4a4348]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a2b4
mov eax, dword [0x4a44c0]
cmp word [eax + 2], 0
jne 0x458c35
mov eax, dword [0x4a44c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a4ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a584]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a584]
call fcn.004032b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425db0]
call fcn.0042b9f8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458dbc
mov eax, dword [0x4a4154]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bdc8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45aa4c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a4154]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d4b8
test eax, eax
je 0x458d2a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4e0
test eax, eax
je 0x458d3e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404408
mov eax, dword [0x4a3ef8]
cmp byte [eax], 0
jne 0x458d72
mov eax, ebx
call fcn.00458ee4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045ac28
mov eax, ebx
call fcn.0045b5ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458db2
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459164
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a5bb8]
cmp dword [eax + 0x30], 0
je 0x45920e
cmp dword [ebx + 0x94], 0
jne 0x459208
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4590f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459208
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4591ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459208
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ce14
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4591dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459d70
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459da5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404288
jmp 0x459db2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ae04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ae45
mov eax, esi
call fcn.004415cc
test al, al
je 0x45ae45
mov eax, dword [ebx + 0x84]
call fcn.004412c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ae45
push 0
mov eax, dword [ebx + 0x84]
call fcn.004412c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10002b20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10002b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 1
test byte [0x1006dc8c], al
jne 0x10002b6a
or dword [0x1006dc8c], eax
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x1006dd38
test esi, esi
je 0x10002b89
lea eax, [esp + 8]
push eax
mov ecx, 0x1005d4f4
call fcn.100029d0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057990
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10069700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x10002c47
mov eax, esi
call fcn.10002ce0
xor esi, esi
test byte [0x1006dc8c], 1
jne 0x10002c2a
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov eax, 0x1006dd38
mov dword [ebx + 4], eax
mov dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov edx, dword [0x1006dd8c]
lea ecx, [ebp - 0x10]
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1006dd8c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10002e00
test eax, eax
je 0x10002c99
cmp edi, 0xffffffff
je 0x10002c8d
inc edi
push ebx
mov ecx, esi
call fcn.10002e00
test eax, eax
jne 0x10002c87
mov edx, dword [ebp - 0x14]
mov eax, dword [0x1006dd8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10002cb9
push eax
call fcn.10028db2
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100038c0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056042
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10069700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x120], ecx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x128], esi
mov ebx, edx
mov dword [ebp - 0x118], ecx
jb 0x10003912
mov ecx, dword [edi]
jmp 0x10003914
mov ecx, edi
lea edx, [ebp - 0x118]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ecx, ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ecx
mov byte [esi], cl
mov edx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x120], edx
cmp eax, ecx
jne 0x10003a17
push 0x103
push ecx
lea eax, [ebp - 0x113]
push eax
mov dword [ebp - 0x124], edx
mov byte [ebp - 0x114], cl
call fcn.1002d5e0
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x11c], 0x104
jb 0x10003983
mov eax, dword [ebx]
jmp 0x10003985
mov eax, ebx
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x124]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.GetRegContent:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi + 0x14], 0x10
jb 0x100039bd
mov edi, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
cmp dword [ebx + 0x14], 0x10
jb 0x100039ce
mov ebx, dword [ebx]
push ebx
call edi
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100039e3
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.100076c0
cmp dword [esi + 0x14], 0x10
jb 0x10003a05
mov eax, dword [esi]
jmp 0x10003a07
mov eax, esi
push eax
call edi
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100282cc
mov esp, ebp
pop ebp
ret
Function at 0x10005270
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x10069700]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x1006dc94
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x100052b4
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x1006dc98
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 0xc], 0
je 0x1000530f
push 0
push 0x1006dc98
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov esi, eax
test esi, esi
je 0x1000530f
test byte [0x1006dc8c], 1
jne 0x100052f4
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
lea ecx, [esp + 8]
push ecx
mov ecx, str.winsock
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x1006dd38
call fcn.100029d0
mov ecx, dword [esp + 0x1a4]
mov eax, dword [ebp + 8]
pop esi
xor ecx, esp
call fcn.100282cc
mov esp, ebp
pop ebp
ret 8
Function at 0x10006ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10056ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10069700]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
movzx eax, word [esi + 0xc]
push ecx
mov edx, 1
mov ecx, esp
mov word [ecx], dx
lea edx, [eax + 1]
cmp edx, 2
jge 0x10006b2c
lea ecx, [esp + 0x18]
call fcn.10003230
push eax
mov dword [esp + 0x78], 0
call fcn.10009cf0
cmp eax, 0x1f
jbe 0x10006b48
lea ecx, [esp + 0x2c]
call fcn.10003230
push eax
mov dword [esp + 0x78], 1
call fcn.10009cf0
mov word [ecx], ax
mov ax, word [esi + 0x10]
inc ax
push ecx
movzx eax, ax
mov edx, 1
mov ecx, esp
mov word [ecx], dx
lea edx, [eax + 1]
cmp edx, 2
jge 0x10006b7e
lea ecx, [esp + 0x3c]
call fcn.100033a0
push eax
mov dword [esp + 0x7c], 2
call fcn.1000b950
cmp eax, 0xc
jbe 0x10006b9a
lea ecx, [esp + 0x48]
call fcn.100033a0
push eax
mov dword [esp + 0x7c], 3
call fcn.1000b950
mov word [ecx], ax
mov eax, 0x76c
add ax, word [esi + 0x14]
push ecx
movzx eax, ax
mov edx, 0x578
mov ecx, esp
mov word [ecx], dx
lea edx, [eax + 1]
cmp edx, 0x579
jge 0x10006bd9
lea ecx, [esp + 0x58]
call fcn.100032e0
push eax
mov dword [esp + 0x80], 4
call fcn.1000b8f0
mov edx, 0x2710
cmp ax, dx
jbe 0x10006bfd
lea ecx, [esp + 0x64]
call fcn.100032e0
push eax
mov dword [esp + 0x80], 5
call fcn.1000b8f0
mov word [ecx], ax
lea ecx, [esp + 0x1c]
call fcn.10003450
mov eax, dword [esi + 8]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
test eax, eax
js 0x10006c6d
test ebx, ebx
js 0x10006c6d
test edi, edi
js 0x10006c6d
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 4
shl ecx, 4
sub ecx, eax
sbb esi, edx
shld esi, ecx, 2
add ecx, ecx
add ecx, ecx
mov eax, ebx
cdq
add ecx, eax
adc esi, edx
mov edx, ecx
mov eax, esi
shld eax, edx, 4
shl edx, 4
sub edx, ecx
sbb eax, esi
shld eax, edx, 2
add edx, edx
mov esi, eax
lea ecx, [edx + edx]
mov eax, edi
cdq
push 0
add ecx, eax
push 0xf4240
adc esi, edx
push esi
push ecx
call fcn.1002db10
jmp 0x10006cea
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 4
shl ecx, 4
sub ecx, eax
sbb esi, edx
shld esi, ecx, 2
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
cdq
add ecx, ecx
add ecx, ecx
add ecx, eax
adc esi, edx
mov edx, ecx
mov eax, esi
shld eax, edx, 4
shl edx, 4
sub edx, ecx
sbb eax, esi
shld eax, edx, 2
mov esi, eax
add edx, edx
lea ecx, [edx + edx]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
cdq
push 0
add ecx, eax
push 0xf4240
adc esi, edx
push esi
push ecx
call fcn.1002db10
mov ecx, eax
xor eax, eax
mov esi, edx
cdq
xor eax, edx
xor edi, edi
xor edi, edx
sub edi, edx
sbb eax, edx
mov edx, eax
mov eax, edi
neg eax
adc edx, 0
neg edx
sub eax, ecx
sbb edx, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.10007f00
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005547b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10069700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100237aa
push 4
mov dword [ebp - 4], 0
call fcn.10029106
mov edi, eax
add esp, 4
test edi, edi
je 0x10007c50
call fcn.100235d4
mov dword [edi], eax
call fcn.10023393
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1002376b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10007c46
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10023793
jmp 0x10007c52
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000bbf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055ec0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10069700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.1002844c
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10006110
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x1000bc7c
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055d98
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10069700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.1002844c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.10006110
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov eax, esi
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 0x10014b00
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1006dd8c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10014b35
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10014b35
mov eax, dword [ecx]
test eax, eax
je 0x10014b35
mov dword [ecx], 0
mov cl, byte [eax]
movzx edx, cl
cmp edx, ebx
jae 0x10014b52
push eax
call fcn.10028db2
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.10029106
add esp, 4
cmp ebx, 0xff
ja 0x10014b50
movzx ecx, bl
mov byte [eax + ebx], cl
ret
xor ecx, ecx
mov byte [eax + ebx], cl
ret

Function at 0x10014ea0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 8]
push edx
push 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x1006dcb4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
test eax, eax
je 0x10014eed
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
push edx
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x10014f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push 0
push 0
push 1
push 0
call ebx
mov edi, eax
mov dword [esi + 4], edi
test edi, edi
jne 0x10014f92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test byte [0x1006dc8c], 1
jne 0x10014f6f
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x1006dd38
test eax, eax
je 0x10014f92
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.entry_event
call fcn.100029d0
push 0
push 0
push 1
push 0
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], 0
jne 0x10015006
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test byte [0x1006dc8c], 1
jne 0x10014fe4
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x1006dd38
test ebx, ebx
je 0x10015003
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.thread.exit_event
call fcn.100029d0
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
push 0
push esi
push 0x100150d0
push 0
push 0
mov dword [esp + 0x2c], 0
call fcn.10029c28
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
jne 0x100150a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test edi, edi
je 0x1001504d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1001505b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [0x1006dc8c], 1
jne 0x10015082
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x1006dd38
test eax, eax
je 0x100150a5
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread
call fcn.100029d0
test edi, edi
je 0x100150b9
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100151f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005710f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10069700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.10015820
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 3
push eax
mov dword [esi + 0x34], edi
call fcn.10014bb0
test byte [0x1006dc8c], 1
mov ebx, eax
jne 0x1001528b
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x1006dd38
cmp ebx, edi
je 0x100152a7
lea ecx, [ebp - 0x14]
push ecx
mov ecx, str.mutex
call fcn.100029d0
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
cmp eax, 0xffffffff
jb 0x100152bf
or eax, 0xffffffff
push eax
push edi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x1001531c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x1006dc8c], 1
mov ebx, eax
jne 0x10015300
or dword [0x1006dc8c], 1
push 0x10058930
mov dword [0x1006dd38], 0x1005d8e0
call fcn.10028d66
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x1006dd38
cmp ebx, edi
je 0x1001531c
lea edx, [ebp - 0x14]
push edx
mov ecx, str.iocp
call fcn.100029d0
mov eax, esi
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