joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459e50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473bdc]
cmp dword [eax + 0x30], 0
je 0x459efa
cmp dword [ebx + 0x94], 0
jne 0x459ef4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459de0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459ef4
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 0x459eba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459ef4
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.00413a0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459ec9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45aa5c
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 0x45aa91
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.00403f3c
jmp 0x45aa9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bb80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bbc1
mov eax, esi
call fcn.00441d5c
test al, al
je 0x45bbc1
mov eax, dword [ebx + 0x84]
call fcn.00441a58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bbc1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441a58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f288
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f2b6
mov eax, ebx
call fcn.0045fd3c
cmp dword [ebx + 0x40], 0
je 0x45f2af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f327
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f319
cmp dword [ebx + 8], 0
je 0x45f2d8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45f2ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f319
cmp dword [ebx + 8], 0
je 0x45f2cb
cmp eax, 3
je 0x45f2fd
dec eax
jne 0x45f2cb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45f2cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f2cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f345
cmp dword [ebx + 0x14], 0xcc
je 0x45f345
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045f350
pop ebx
ret
Function at 0x46f8fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46f97b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x43
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404034
push dword [ebp - 8]
push 0x46f990
push 0x46f99c
lea eax, [ebp - 4]
mov edx, 3
call fcn.004041cc
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x46f95a
mov eax, esi
mov edx, ebx
call fcn.00404034
inc ebx
cmp ebx, 0x5b
jne 0x46f91a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f982
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e70
ret

Function at 0x46f9a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46fa1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x43
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404034
push dword [ebp - 8]
push 0x46fa34
push 0x46fa40
lea eax, [ebp - 4]
mov edx, 3
call fcn.004041cc
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x46f9fe
mov eax, esi
mov edx, ebx
call fcn.00404034
inc ebx
cmp ebx, 0x5b
jne 0x46f9be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fa26
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e70
ret
Function at 0x401720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x402de3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CDC::CDC
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x403514
mov ebx, dword [esp + 0x2c]
mov dword [esi], 0x403498
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x4017f1
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x58]
test ebx, ebx
jne 0x401793
xor eax, eax
jmp 0x401796
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
test ebp, ebp
je 0x4017cf
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
jmp 0x401803
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x401840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x402e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x403498
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4018d0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x401897
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4018c1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4018d6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4018d6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x403458
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x403480
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040296c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x401cc0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xc00
mov ecx, 0x100
xor eax, eax
lea edx, [esp]
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x404]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc14]
lea eax, [esp + 0xc18]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vsprintf]
mov ecx, dword [esp + 0xc14]
mov edx, dword [esp + 0xc1c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x420]
push 0x4069f0
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea edx, [esp + 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0xc00
ret

Function at 0x401d50
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
test eax, eax
jne 0x401d63
ret
push eax
push 0x406a2c
push 0x66
push 0x406a18
push 0x406a0c
call fcn.00401cc0
add esp, 0x14
mov eax, 0x67
ret

Function at 0x401d90
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfb
ret

Function at 0x401e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x401e7e
mov eax, 0x1c0
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401e90
mov eax, 0x1c7
ret
and al, 0x10
neg al
sbb eax, eax
and eax, 0xfffffe34
add eax, 0x1cc
ret
Function at 0x401eb0
Capabilities:
Copy file
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
push edi
and ecx, 0xffff
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [esp + 0x14]
mov ebx, eax
call sub.MFC42.DLL_CFileFind::CFileFind
mov esi, dword [esp + 0x40]
push 0
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42.DLL_CFileFind::Close
test edi, edi
je 0x401fe6
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::operator_1
push str..cfg
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x401fa4
lea edx, [esp + 0x48]
push str..old
lea eax, [esp + 0x44]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.004028d6
mov ecx, dword [esp + 0x44]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov byte [esp + 0x38], 1
test eax, eax
lea ecx, [esp + 0x44]
je 0x401fd3
call fcn.004028d6
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0
call fcn.004028d6
jmp 0x40206e
call fcn.004028d6
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0
call fcn.004028d6
push 0
push 0
push 1
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x10]
push 0
push edx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
jne 0x402068
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x44]
push str.PhoenixPack100_:_WriteFile___s__failed
push eax
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x4c]
add esp, 0xc
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.004028d6
jmp 0x40206e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00402a2c
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x1000fbc0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000fc67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101ace90]
mov esi, eax
mov eax, dword [0x101ace94]
cmp ecx, 0x257edfd1
jne 0x1000fbfe
cmp eax, 0xb2ab117a
je 0x1000fc0d
cmp ecx, 0x257edfd0
jne 0x1000fc14
cmp eax, 0xb2ab117a
jne 0x1000fc14
test esi, esi
setne al
jmp 0x1000fc24
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x101ace88
mov dword [esp + 0x18], str.C:ProjectTrading_boost_1_81_0_boost_asiodetail_throw_error.hpp
mov dword [esp + 0x1c], str.win_tss_ptr_create
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 5
test al, 1
je 0x1000fc67
cmp eax, 1
jne 0x1000fc6f
test esi, esi
jne 0x1000fc6f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
mov edx, 0x101a0cdc
push eax
lea ecx, [esp + 0x10]
call fcn.1000f990
int3

Function at 0x1000fe00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x101b1bf8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000fe2a
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp - 4]
call fcn.10015df0
add esp, 8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp - 4]
call fcn.10015df0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x1000fe40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x101b1bf8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000fe58
mov ecx, dword [eax + 4]
jmp 0x1000fe5a
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x3fc
ja 0x1000fe7f
test ecx, ecx
je 0x1000fe7f
xor eax, eax
nop dword [eax]
cmp dword [ecx + eax*4], 0
lea edx, [ecx + eax*4]
je 0x1000fe8d
inc eax
cmp eax, 2
jl 0x1000fe70
push dword [ebp + 8]
call fcn.100459e4
add esp, 4
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov al, byte [ecx + esi]
mov byte [ecx], al
mov dword [edx], ecx
pop esi
pop ebp
ret

Function at 0x100103c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x101b1510
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x1001040e
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov esp, ebp
pop ebp
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006afae
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x101aa2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
lea ebx, [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [ebx], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.10011560
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.1000ff70
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1001097a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101ace90]
mov edi, eax
mov eax, dword [0x101ace94]
cmp ecx, 0x257edfd1
jne 0x10010921
cmp eax, 0xb2ab117a
je 0x10010930
cmp ecx, 0x257edfd0
jne 0x10010937
cmp eax, 0xb2ab117a
jne 0x10010937
test edi, edi
setne al
jmp 0x10010947
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x101ace88
mov dword [ebp - 0x30], str.C:ProjectTrading_boost_1_81_0_boost_asiodetail_throw_error.hpp
mov dword [ebp - 0x2c], str.win_iocp_io_context
mov dword [ebp - 0x28], 0x30
mov dword [ebp - 0x24], 5
test al, 1
jne 0x100109f3
cmp byte [ebp + 0x10], 0
je 0x100109dd
lock inc dword [ebx]
push 0xc
call fcn.10045ca9
mov edi, eax
add esp, 4
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 7
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10045ca9
push eax
mov ecx, edi
mov dword [ebp + 8], eax
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], esi
call fcn.10010430
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x100109da
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.10046108
add esp, 8
mov dword [esi + 0x60], edi
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
lea eax, [ebp - 0x30]
mov edx, str.iocp
push eax
lea ecx, [ebp - 0x20]
call fcn.1000f990
int3
Function at 0x10010d60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b035
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x101aa2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edx, edx
lea eax, [esi + 0x18]
lock xadd dword [eax], edx
test edx, edx
jne 0x10010dc3
call fcn.10010ee0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
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
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
push eax
call fcn.1004437a
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
add esp, 4
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov ecx, esi
mov dword [ebp - 4], 0
push dword [0x101b1bf8]
neg ecx
lea eax, [esi + 0x14]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x101b1bf8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push ebx
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
xor edi, edi
call fcn.10010fd0
test eax, eax
je 0x10010e5f
cmp edi, 0xffffffff
lea eax, [edi + 1]
push ebx
cmove eax, edi
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.10010fd0
test eax, eax
jne 0x10010e43
push dword [ebp - 0x10]
push dword [0x101b1bf8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x4c]
test eax, eax
je 0x10010e81
push eax
call fcn.100459e4
add esp, 4
inc esi
cmp esi, 0xa
jl 0x10010e70
lea eax, [ebp - 0x20]
push eax
call fcn.10044465
add esp, 4
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 0x100116e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x10011874
cmp byte [ebp + 8], 0
je 0x10011731
mov al, byte [edx]
test al, 8
je 0x10011731
or al, 8
xor ecx, ecx
push 4
mov byte [edx], al
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
push ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0x18]
setne dl
call fcn.10011660
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0xc]
mov ebx, eax
test ebx, ebx
setne dl
call fcn.10011660
test ebx, ebx
je 0x1001186d
push esi
mov esi, dword [0x101ace94]
push edi
mov edi, dword [0x101ace90]
cmp edi, 0x257edfd1
jne 0x1001176d
cmp esi, 0xb2ab117a
je 0x1001177d
cmp edi, 0x257edfd0
jne 0x10011781
cmp esi, 0xb2ab117a
jne 0x10011781
mov al, 1
jmp 0x100117a1
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x101ace94]
mov edi, dword [0x101ace90]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
movzx eax, al
add eax, 2
mov dword [ebp - 0x18], 0x2733
mov dword [ebp - 0x14], 0x101ace88
mov dword [ebp - 0x10], eax
call fcn.1000ee30
test al, al
jne 0x1001182e
cmp edi, 0x257edfd1
jne 0x100117d7
cmp esi, 0xb2ab117a
je 0x100117e7
cmp edi, 0x257edfd0
jne 0x100117eb
cmp esi, 0xb2ab117a
jne 0x100117eb
mov al, 1
jmp 0x100117ff
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
movzx eax, al
add eax, 2
mov dword [ebp - 0x18], 0x4d5
mov dword [ebp - 0x14], 0x101ace88
mov dword [ebp - 0x10], eax
call fcn.1000ee30
test al, al
jne 0x1001182e
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0x8004667e
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0xc]
push esi
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0xc]
mov esi, eax
test esi, esi
setne dl
call fcn.10011660
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret