Function at 0x409090
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45702c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x408e60
mov ebx, ecx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 4]
call fcn.00409870
mov eax, dword [0x458b18]
test eax, eax
je 0x4090ee
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebx + 0x9c]
push dword [ebx + 0xa0]
push dword [ebx + 0x98]
push dword [ebx + 0xa4]
call eax
add esp, 0x14
test al, al
jne 0x4091c2
mov eax, dword [section..data]
test al, 4
je 0x40912b
cmp dword [ebp - 8], 0x10
lea edi, [ebp - 0x1c]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmovae edi, dword [ebp - 0x1c]
push 2
call esi
push edi
push 0x445524
push eax
call fcn.00404730
push 2
call esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [section..data]
add esp, 0x18
test al, 2
je 0x4091b6
sub esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
mov ecx, esp
cmovae eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00409cf0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40915f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4091a2
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409198
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043bf97
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp dword [ebx + 0xa4], 4
jne 0x4091c2
int3
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x4091f8
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4091ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4091ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043bf97
add esp, 8
mov eax, dword [ebx]
lea ecx, [ebx + 4]
mov eax, dword [eax + 4]
mov dword [eax + ebx], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x50]
mov dword [edx + ebx - 4], eax
call fcn.004020a0
lea ecx, [ebx + 8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebx + 0x50]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c18a
mov esp, ebp
pop ebp
ret