Function at 0x4070e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e933
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x450958]
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
xor ecx, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ecx
mov dword [edi], vtable.Log.0
mov dword [ebp - 4], ecx
cmp byte [0x452d8c], cl
jne 0x407136
cmp byte [edi + 0xb9], cl
jne 0x407136
cmp byte [edi + 0xb8], cl
je 0x407151
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 8]
call fcn.00409640
cmp dword [eax + 0x10], 0
mov ecx, 1
jbe 0x407151
mov bl, cl
jmp 0x407153
xor bl, bl
test cl, 1
je 0x407169
cmp dword [ebp - 0x14], 0x10
jb 0x407169
push dword [ebp - 0x28]
call fcn.0040e01f
add esp, 4
test bl, bl
je 0x4072b1
push 0xa
lea ecx, [edi + 0x18]
call fcn.00408d40
lea ecx, [edi + 0x18]
call fcn.004067a0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0040b2e0
add esp, 4
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x4071db
push 1
push 0x4419a8
lea ecx, [ebp - 0x40]
call fcn.00408030
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00407e80
push 2
push 0x4419ac
mov ecx, eax
call fcn.00408030
cmp byte [edi + 0xb9], 0
push 6
je 0x4071ed
push 0x4419b0
jmp 0x407202
cmp byte [edi + 0xb8], 0
je 0x4071fd
push 0x4419b8
jmp 0x407202
push 0x4419c0
lea ecx, [ebp - 0x40]
call fcn.00408030
lea eax, [ebp - 0x60]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00409640
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00407e80
cmp dword [ebp - 0x4c], 0x10
mov byte [ebp - 4], 2
jb 0x40723e
push dword [ebp - 0x60]
call fcn.0040e01f
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004022d0
call fcn.00409970
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
jb 0x40728c
push dword [ebp - 0x28]
call fcn.0040e01f
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4072f8
push dword [ebp - 0x40]
call fcn.0040e01f
add esp, 4
jmp 0x4072f8
lea eax, [ebp - 0x28]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00409640
cmp dword [eax + 0x10], 0
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x4072d7
push dword [ebp - 0x28]
call fcn.0040e01f
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test bl, bl
je 0x4072f8
push 0x4419c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esi, 0x68
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00407010
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.0040d957
add esp, 4
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.0040e7a9
mov esp, ebp
pop ebp
ret