Function at 0x559c90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577980
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5bfd00]
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 ebx, ecx
push 0x5598f0
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 - 0x28]
push eax
lea ecx, [ebx + 4]
call fcn.00425ad0
mov eax, dword [0x5c2afc]
test eax, eax
je 0x559d0f
lea ecx, [ebp - 0x28]
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
je 0x559d0f
lea ecx, [ebp - 0x28]
call fcn.00409f80
jmp 0x559e19
mov eax, dword [0x5bfce0]
test al, 4
je 0x559d4c
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmovae edi, dword [ebp - 0x28]
push 2
call esi
push edi
push 0x57c0ec
push eax
call fcn.0045c4f0
push 2
call esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [0x5bfce0]
add esp, 0x18
test al, 2
je 0x559dd7
sub esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, esp
cmovae eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0055a9d0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x559d80
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x559dc3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x559db9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x559db9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebx + 0xa4], 4
jne 0x559de3
int3
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x559e19
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559e0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x559e0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
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.00422e30
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 - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret