Function at 0x10034620
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089b02
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100bc1b4]
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
mov ebx, dword [ebp + 8]
push 0x180
push 0x40
push 0x8101
push ebx
push edi
mov dword [ebp - 0x2c], 0
call fcn.10063c9a
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003485d
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xcc], 0x1008fabc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x7c], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc8]
push 0
push 0
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x2c], 1
call fcn.10007ca0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xcc]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd0], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc8], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10053309
mov esi, eax
add esp, 4
test esi, esi
je 0x10034724
push 1
call fcn.1003a658
add esp, 4
mov dword [esi + 4], eax
jmp 0x10034726
xor esi, esi
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 4
mov dword [ebp - 4], 5
lea eax, [ebp - 0xcc]
push 0x10093e70
push dword [ebp - 0x30]
push str._error.__
push ebx
push str.open
push eax
call fcn.100066a0
add esp, 8
push eax
call fcn.100066a0
add esp, 8
push eax
call fcn.100066a0
add esp, 8
mov ecx, eax
call fcn.1000a230
push eax
call fcn.100066a0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.10034970
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10034838
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100092a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1000a600
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10034873
push 2
push 0
push eax
call fcn.100641c8
add esp, 0xc
jmp 0x10034876
or eax, 0xffffffff
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.100536aa
mov esp, ebp
pop ebp
ret 4