Function at 0x419f5b
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0x1f4
mov eax, 0x451a35
call fcn.0043364b
mov edi, ecx
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], edi
mov dword [edi], vtable.LogMessage.0
mov dword [ebp - 4], 1
cmp byte [0x471570], 0
je 0x41a26b
and dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
push ecx
push ecx
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.0041a29d
lea eax, [ebp - 0x148]
push eax
mov byte [ebp - 4], 3
call fcn.00419e5e
mov ebx, eax
lea eax, [ebp - 0x160]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00419ef7
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ecx
push dword [edi + 0xc]
mov edx, 0x46136c
push ecx
lea ecx, [ebp - 0x200]
call fcn.00405695
mov edx, esi
mov ecx, eax
call fcn.0041ac85
mov edx, 0x461368
mov ecx, eax
call fcn.00405695
mov edx, ebx
mov ecx, eax
call fcn.0041ac85
mov edx, 0x461364
mov ecx, eax
call fcn.00405695
lea edx, [edi + 0x10]
mov ecx, eax
call fcn.0041ac85
mov edx, 0x461360
mov ecx, eax
call fcn.00405695
pop ecx
mov ecx, eax
call fcn.00407a2e
mov edx, str.______n
mov ecx, eax
call fcn.00405695
mov edx, 0x461358
mov ecx, eax
call fcn.00405695
pop ecx
mov ecx, eax
call fcn.0040c187
mov edx, 0x461354
mov ecx, eax
call fcn.00405695
lea ecx, [ebp - 0x160]
call fcn.00401303
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00401303
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x200]
call fcn.0041a377
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x130]
call fcn.0041aa9b
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00401303
mov esi, 0x461370
push esi
call fcn.00401001
pop ecx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.0041ab41
lea eax, [ebp - 0x148]
push eax
lea ecx, [edi + 0x28]
call fcn.0041a377
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 7
call fcn.0041aa9b
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00401303
mov esi, 0x461374
push esi
call fcn.00401001
pop ecx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.0041ab41
mov esi, 0x46fe38
cmp dword [0x46fe48], ebx
jne 0x41a1d2
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.00435650
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push eax
call fcn.00401001
pop ecx
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, esi
call fcn.00401368
mov ebx, 0x461318
push ebx
call fcn.00401001
pop ecx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00404c51
push eax
push 0
lea eax, [ebp - 0x148]
push eax
mov ecx, esi
call fcn.00404936
push eax
mov ecx, esi
call fcn.004048fe
lea ecx, [ebp - 0x148]
call fcn.00401303
mov ebx, 0x461378
push ebx
call fcn.00401001
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.0041ab41
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x46fe4c], 0x10
push 0x461384
cmovae esi, dword [0x46fe38]
push esi
call fcn.00430080
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41a23a
cmp dword [ebp - 0x11c], 0x10
push esi
push dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
cmovae ecx, dword [ebp - 0x130]
push 1
push ecx
call fcn.0042f436
push esi
call fcn.0042f520
add esp, 0x14
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 2
call fcn.0041a334
lea eax, [ebp - 0x1b0]
push eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
call fcn.0042c6d0
pop ecx
lea ecx, [ebp - 0x130]
call fcn.00401303
lea ecx, [edi + 0x28]
call fcn.00419e44
lea ecx, [edi + 0x10]
call fcn.00401303
call fcn.004335fa
ret