Function at 0x10025100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083f92
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100ac1c4]
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.1005a641
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1002533d
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xcc], 0x10089ff0
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.10003e10
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.1004771c
mov esi, eax
add esp, 4
test esi, esi
je 0x10025204
push 1
call fcn.1002b198
add esp, 4
mov dword [esi + 4], eax
jmp 0x10025206
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 0x1008bad0
push dword [ebp - 0x30]
push str._error.__
push ebx
push str.open
push eax
call fcn.100027f0
add esp, 8
push eax
call fcn.100027f0
add esp, 8
push eax
call fcn.100027f0
add esp, 8
mov ecx, eax
call fcn.10006b30
push eax
call fcn.100027f0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.10025450
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10025318
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10005880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10006f00
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10025353
push 2
push 0
push eax
call fcn.1005aa4f
add esp, 0xc
jmp 0x10025356
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.10047acb
mov esp, ebp
pop ebp
ret 4