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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x1fe52e
cmp dword [ebx + 0xac], 0
jne 0x1fe528
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x1fe3c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x1fe528
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_GetWindowLongW
test al, 8
je 0x1fe4ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x1fe528
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.000e87b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x1fe4fd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x1fe76c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x223758]
cmp dword [eax + 0x188], 0
je 0x1fe8e6
test bl, bl
jne 0x1fe831
cmp dword [esi + 0xb4], 0
jne 0x1fe826
mov eax, esi
call fcn.00201730
push eax
push 0x1fe660
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x1fe7f7
mov eax, dword [0x223758]
cmp byte [eax + 0xeb], 0
je 0x1fe7f7
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x1fe7d8
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x1fe7f7
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x1fe7e0
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x1fe826
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.000e87b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x1fe806
inc dword [esi + 0xb4]
jmp 0x1fe8e6
cmp dword [esi + 0xb4], 0
jle 0x1fe8e6
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x1fe8e6
cmp dword [esi + 0x58], 0
je 0x1fe89b
mov eax, dword [0x223758]
cmp byte [eax + 0xeb], 0
je 0x1fe89b
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x1fe87c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x1fe89b
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x1fe884
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x1fe8ca
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.000e87b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x1fe8aa
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x1f03f8]
call fcn.0004b848
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x1ff540
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x1ff59d
cmp byte [ebx + 0xeb], 0
jne 0x1ff59d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.000498e4
mov eax, dword [esi]
test eax, eax
je 0x1ff58a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x1ff5aa
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00049b3c
jmp 0x1ff5aa
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00049b3c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x200e5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x200ecd
mov eax, esi
call fcn.00161f54
test al, al
je 0x200ecd
mov eax, dword [ebx + 0x98]
call fcn.00161b84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x200ecd
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x200ebe
push 0
mov eax, dword [ebx + 0x98]
call fcn.00161b84
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.001587a0
jmp 0x200ecd
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.00200c94
pop esi
pop ebx
ret
Function at 0x20579c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x205816
mov eax, dword [ebx + 8]
call fcn.00161b84
mov ecx, eax
mov dl, 1
mov eax, dword [0x16e100]
call fcn.0015beac
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.001728b0
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x205094
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00161b84
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00161b84
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x20588c
mov eax, dword [ebx + 8]
call fcn.00161b84
mov ecx, eax
mov dl, 1
mov eax, dword [0x16e100]
call fcn.0015beac
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.001728b0
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x2050e0
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00161b84
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00161b84
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x2058f8
mov eax, dword [ebx + 8]
call fcn.00161b84
mov ecx, eax
mov dl, 1
mov eax, dword [0x16eb80]
call fcn.0015beac
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00161b84
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00161b84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x402fc0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46216e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
mov eax, dword [0x483094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x403167
push dword [esi + 8]
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403157
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4875dc]
cmp eax, dword [ecx + 4]
jle 0x403095
push 0x4875dc
call fcn.004290b9
add esp, 4
cmp dword [0x4875dc], 0xffffffff
jne 0x403095
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [vtable.base::logger.0], xmm0
mov dword [0x483b4c], 0
mov byte [ebp - 4], 1
mov ecx, 0x483b48
mov dword [vtable.base::logger.0], 0x478524
call fcn.00412d80
push 0x465040
call fcn.00428ece
push 0x4875dc
mov dword [ebp - 4], 0xffffffff
call fcn.0042906f
add esp, 8
mov eax, dword [vtable.base::logger.0]
mov ecx, 0x483b44
push 5
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x40314c
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], vtable.fmt::BasicStringWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], vtable.fmt::internal::StringBuffer_char__class_std::allocator_char__.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x20], 0x483b44
mov dword [ebp - 0x1c], str.d:gitwegame_clientcodescommon_src_async_task.cpp
mov dword [ebp - 0x18], 0x14c
mov dword [ebp - 0x14], 0x474f8f
mov dword [ebp - 0x10], 5
mov dword [ebp - 4], 2
lea eax, [ebp - 0x58]
push dword [esi]
push str._Async_task_mgr_ClearWorkingThreadInfo_thread_id:_d_time_out
push 0
push eax
call fcn.00402000
add esp, 0x10
mov dword [ebp - 4], 3
lea edx, [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x50]
call fcn.00401fa0
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4044f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462330
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x483094]
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]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [edi + 4]
push eax
call fcn.0043fc03
add esp, 8
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 eax
call fcn.00403910
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 0x404582
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_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.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 0x404900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462330
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x483094]
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]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [edi + 4]
push eax
call fcn.0043fc03
add esp, 8
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 eax
call fcn.00403910
mov dword [esi], vtable.boost::lock_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 0x404992
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::lock_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.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 0x404ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462358
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x483094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 4]
mov dword [edi], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.0043fc03
add esp, 8
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 eax
call fcn.00403910
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_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462358
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x483094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 4]
mov dword [edi], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.0043fc03
add esp, 8
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 eax
call fcn.00403910
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::lock_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407080
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4626e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x483094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [ebp + 0xc]
mov byte [esi], al
mov al, byte [ebp + 0x10]
mov byte [esi + 1], al
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x30]
push 0x80
push 0
push eax
mov dword [esi + 0x2c], 0x65
mov dword [esi + 0x20], 0x9686
mov word [esi + 0xb4], 0xb6a6
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0xb0], 0
call fcn.00440a60
mov word [esi + 0xb6], 0x9888
add esp, 0xc
mov word [esi + 0xc0], 0xb8a8
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0xf
mov byte [esi + 0xc4], 0
mov byte [ebp - 4], 1
mov ecx, esi
mov byte [esi + 2], 0
mov dword [esi + 0x114], 0
call fcn.00407880
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407e10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462838
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x483094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x15
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x478878
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004105f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x407e7b
mov ecx, dword [esi]
push dword [ebp - 0x2c]
mov edx, dword [esi + 0x10]
push dword [ebp - 0x18]
push eax
push ecx
call fcn.00413ac0
mov ecx, eax
add esp, 0x10
cmp ecx, 0xffffffff
je 0x407f01
cmp dword [esi + 0x10], ecx
jbe 0x407f86
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x407ea8
mov eax, dword [esi]
push esi
push ecx
lea edx, [eax + ecx*2]
mov eax, esp
lea ecx, [ebp - 0x44]
mov dword [eax], str.Illegal_character____in_logname_prefix:___
call fcn.00412810
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x407ec8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x407f2d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407f23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f8b
jmp 0x407f23
cmp dword [esi + 0x10], 0
jne 0x407f31
push ecx
mov eax, esp
lea ecx, [ebp - 0x44]
mov dword [eax], str.Empty_filename_prefix_is_not_allowed
call fcn.004128a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x407ec8
jmp 0x407ec6
push edx
push ecx
call fcn.00428ee3
add esp, 8
xor bl, bl
jmp 0x407f33
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407f69
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407f5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f8b
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428c08
mov esp, ebp
pop ebp
ret
call fcn.004119d0
call fcn.004465a2
int3
Function at 0x408790
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462938
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x483094]
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
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x4087da
mov ecx, dword [edi]
cmp dword [esi + 0x50], 0
jne 0x408893
push 0x40
push 0x32
push ecx
call fcn.00426ee4
add esp, 0xc
test eax, eax
je 0x408893
push 1
push eax
lea ecx, [esi + 4]
call fcn.00410a80
mov eax, dword [esi + 0x38]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
call fcn.00413f70
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
call edx
test al, al
je 0x408845
mov dword [esi + 0x3c], 0
jmp 0x408853
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 4]
call fcn.00411a70
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x408876
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x408876
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, 4
add ecx, esi
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4088ac
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00406220
cmp dword [esi + 0x50], 0
jne 0x40895f
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov edx, dword [eax + esi + 0xc]
jb 0x4088d1
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, esp
mov dword [ebp - 0x40], 0x2c
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x58]
push str.FILE_ERROR:_could_not_open_log_file:___n_t_t_std::ios_base_state__
mov dword [ebp - 0x20], edx
movups xmmword [eax], xmm0
call fcn.00406730
add esp, 0x14
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40895b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408951
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40897f
push edx
push ecx
call fcn.00428ee3
add esp, 8
xor al, al
jmp 0x408961
mov al, 1
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.00428c08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004465a2
int3
Function at 0x40c340
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x483094]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ecx + 4]
test edi, edi
je 0x40c42f
cmp byte [edi + 8], 0
je 0x40c42f
cmp dword [eax + 0x14], 8
jb 0x40c376
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 0
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x40c444
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
push str.DumpToFile_Error:_
movups xmmword [eax], xmm0
call fcn.004065f0
add esp, 0x14
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x40c42f
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4f9
push edx
push ecx
call fcn.00428ee3
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00428c08
mov esp, ebp
pop ebp
ret 4
lea esi, [edi + 0x84]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
push 0x96
push dword [edi + 0x70]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [edi + 0xa0], 0
je 0x40c49e
mov ecx, dword [edi + 0x9c]
lea eax, [esp + 0x3c]
push 0
push eax
mov eax, dword [edi + 0x6c]
sub eax, ecx
push eax
mov eax, dword [edi + 0x74]
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x9c]
push dword [edi + 0x74]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x40]
push eax
push 0xc
push dword [edi + 0x78]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x4c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00428c08
mov esp, ebp
pop ebp
ret 4
call fcn.004465a2
int3