Function at 0x10f62d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x129d653
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x13116ec]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x13116ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], 0
mov eax, dword [edi]
cmp eax, dword [0x132d448]
jl 0x10f64f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
call fcn.010f6f30
push 2
mov ebx, 1
push 0x12c8b18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.010f78a0
cmp dword [0x132d44c], 0
lea ebp, [ebx + 0xf]
je 0x10f6362
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x10f635b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x132d44c], ebx
je 0x10f63d8
call fcn.010f6000
test al, al
je 0x10f63d8
cmp byte [0x132d55a], 0
jne 0x10f638d
push 0x132d3dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x132d55a], bl
push 0x132d3dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x132d554]
push 2
push 0
push edx
call fcn.0123a67f
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebp
jae 0x10f63b9
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x132d554]
push 0x12c8b1c
push eax
call fcn.0123a1b5
add esp, 0xc
push 0x132d3dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi], 3
jne 0x10f64c3
mov ecx, dword [0x132d554]
push ecx
call fcn.01239ec7
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10f6405
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x10f64c3
cmp dword [0x132d55c], 0
je 0x10f643c
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.010f6f30
push eax
mov byte [esp + 0x5c], 2
call dword [0x132d55c]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.011b0ca0
jmp 0x10f64c3
mov eax, dword [0x1314e74]
cmp byte [eax], 0
jne 0x10f6470
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 8]
call fcn.010f6f30
push eax
mov byte [esp + 0x5c], 3
call fcn.010f60c0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.011b0ca0
jmp 0x10f64b5
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.010f6f30
cmp dword [eax + 0x14], ebp
jb 0x10f6484
mov eax, dword [eax]
push eax
push 0x12c8b20
call fcn.01239acd
add eax, 0x40
push eax
call fcn.0123a1b5
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.011b0ca0
call fcn.01239acd
add eax, 0x40
push eax
call fcn.01239ec7
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x58], 0
cmp dword [esp + 0x28], ebp
jb 0x10f64db
mov eax, dword [esp + 0x14]
push eax
call fcn.01238a36
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea esi, [edi + 0x68]
mov ecx, esi
mov dword [esp + 0x58], 0xffffffff
call fcn.010f6e90
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.01237cfc
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.01238a41
add esp, 0x4c
ret