joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x503040]
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 0x40aca5
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.004a56a0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x40acb8
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret
push 0x4d8690
lea eax, [esp + 0x10]
push eax
call fcn.0040ab00
int3

Function at 0x40cfc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x50c064
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x40d006
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x50c068
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x40d01d
push 0
push 0x50c068
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x40d034
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.004a56a0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push str.winsock
push eax
call fcn.0040ab00
int3

Function at 0x40def0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcd0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
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 dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x40df7b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
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 0x40eb10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcf8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
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 0x40fa60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0
push eax
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x40fbc3
lea eax, [edi + 8]
cmp eax, edi
jbe 0x40fbc3
cmp eax, 0x400
ja 0x40fada
call fcn.004b7b80
mov esi, esp
test esi, esi
je 0x40fbc3
mov dword [esi], 0xcccc
jmp 0x40fb02
xor ecx, ecx
mov eax, edi
add eax, 8
setb cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40fbc3
mov dword [esi], 0xdddd
add esi, 8
test esi, esi
je 0x40fbc3
push esi
push edi
push dword [ebp - 0x510]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x40fbae
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x514]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x40fbae
mov ecx, dword [ebp - 0x514]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x508]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.0040ddf0
add esp, 0x10
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x508]
push eax
push esi
call edi
test eax, eax
je 0x40fbae
cmp dword [ebp - 0x50c], 0
jbe 0x40fbae
push dword [ebp - 0x514]
lea ecx, [ebx + 0x18]
call fcn.0040ce80
mov ecx, esi
call fcn.0040fd90
mov eax, 1
jmp 0x40fbc5
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x40fbc3
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
xor eax, eax
lea esp, [ebp - 0x520]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret
Function at 0x410c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bffa8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x410dea
cmp byte [edi + 0x45], 0
je 0x410dea
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x410cf0
xor al, al
jmp 0x410dec
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
lea esi, [edi + 0x48]
lea ebx, [ebx]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
push esi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x410d71
dec eax
je 0x410d75
sub eax, 2
je 0x410dd0
xor bl, bl
jmp 0x410dd2
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x410dad
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x410d6d
cmp byte [edi + 0x45], 0
je 0x410dd0
test esi, esi
lea esi, [edi + 0x48]
jne 0x410d30
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.00410f90
jmp 0x410d27
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x410de6
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x410dec
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.004b73db
mov esp, ebp
pop ebp
ret
Function at 0x412930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcd0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
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 dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4129c1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 0x413860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcf8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 0x414b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
test ebx, ebx
je 0x414bfe
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x10
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x414b8e
push eax
push eax
push eax
push eax
push 0x4d9510
push str._s__d._d._d._d
push 0x80
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push edi
push esi
call dword [sym.imp.MSVCR120.dll_memcpy_s]
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4d9534
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
call dword [sym.imp.MSVCR120.dll_free]
movzx eax, si
push eax
shr esi, 0x10
push esi
movzx eax, di
push eax
shr edi, 0x10
push edi
push 0x4d9510
push str._s__d._d._d._d
push 0x80
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x24
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b73db
mov esp, ebp
pop ebp
ret
Function at 0x414c10
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c062b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x280], 0
call fcn.00414b00
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64_s]
lea eax, [esp + 0x48]
push eax
push str._Y_m_d_H_M_S
lea eax, [esp + 0xf4]
push 0x80
push eax
call dword [sym.imp.MSVCR120.dll_strftime]
lea edx, [esp + 0x40]
mov ecx, str..dmp
call fcn.0045e730
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x184]
push str..dmp_s__s.dmp
push eax
call fcn.004150a0
add esp, 0x28
lea eax, [esp + 0x164]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp + 0x14], edi
push 0
push 0
test edi, edi
mov dword [esp + 0x20], 0
cmove ecx, eax
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov ecx, dword [edi]
mov ecx, dword [ecx]
call fcn.00414e60
cmp dword [esp + 0x3c], 0x10
jb 0x414d63
push dword [esp + 0x28]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret

Function at 0x415230
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x503040]
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 0x50c0a4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x415293
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret
push fcn.0040f960
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.004b73db
mov esp, ebp
pop ebp
ret
Function at 0x4152d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c06cf
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x503040]
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 + 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::win_iocp_io_service.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00415700
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], 0
call fcn.004150e0
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.004a56a0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x41539e
push str.mutex
lea eax, [ebp - 0x18]
push eax
call fcn.0040ab00
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
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 0x415401
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004a56a0
mov dword [ebp - 0x14], eax
test esi, esi
je 0x415401
push str.iocp
lea eax, [ebp - 0x18]
push eax
call fcn.0040ab00
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.004b73db
mov esp, ebp
pop ebp
ret 8
Function at 0x41fb80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c1ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
add ecx, 0xffffffd4
mov dword [esp + 0x30], 0x4da0e4
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
push ecx
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.0041f250
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
push 0x4fd33c
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x34], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + eax + 0x30], 0
lea eax, [esp + 0x10]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3

Function at 0x420cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c1ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
add ecx, 0xffffffd4
mov dword [esp + 0x30], 0x4da0e4
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
push ecx
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00420830
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
push 0x4fd180
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x34], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + eax + 0x30], 0
lea eax, [esp + 0x10]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x429e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [0x50d504]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x429e63
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x429e63
mov eax, dword [ecx]
test eax, eax
je 0x429e63
mov dword [ecx], 0
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, ebx
jb 0x429e59
mov byte [eax + ebx], dl
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebx + 1]
push eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov ecx, eax
cmp ebx, 0xff
ja 0x429e85
movzx eax, bl
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret
xor eax, eax
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x429e90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x50d504]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x429ea8
mov edx, dword [eax + 4]
jmp 0x429eaa
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x429ec9
test edx, edx
je 0x429ec9
cmp dword [edx], 0
jne 0x429ec9
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop ebp
ret
Function at 0x42ca50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2e66
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c300
add esi, 0x1ac
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42caaa
test al, 0x10
jne 0x42cb85
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
lea edx, [esp + 8]
mov dword [esp + 0x30], 0
mov ecx, esi
call fcn.0045e730
test al, al
jne 0x42cb71
cmp dword [esp + 0x1c], 0x10
lea esi, [esp + 8]
mov eax, dword [0x50d6e0]
cmovae esi, dword [esp + 8]
test al, 1
jne 0x42cb29
or eax, 1
mov dword [0x50d6e0], eax
push 0x57c
push 0
push 0x50d6f0
mov byte [esp + 0x3c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.004574c0
push 0x4d0fa0
call fcn.004b7531
add esp, 4
mov byte [esp + 0x30], 0
cmp dword [0x50da30], 3
jg 0x42cb52
mov eax, dword [0x50d738]
test eax, eax
je 0x42cb52
mov eax, dword [0x50d738]
mov ecx, dword [eax + 0x11c]
test ecx, ecx
je 0x42cb52
push 3
push esi
call fcn.00464770
mov ecx, esi
call fcn.00437030
cmp dword [esp + 0x1c], 0x10
jb 0x42cb6d
push dword [esp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x42cb8a
cmp dword [esp + 0x1c], 0x10
jb 0x42cb85
push dword [esp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 4