Function at 0x1003c8e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7c02
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100d10d4]
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.10078d3d
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003cb1d
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xcc], 0x100ada9c
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.1000a300
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.10061b12
mov esi, eax
add esp, 4
test esi, esi
je 0x1003c9e4
push 1
call fcn.10042928
add esp, 4
mov dword [esi + 4], eax
jmp 0x1003c9e6
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 0x100b0580
push dword [ebp - 0x30]
push str._error.__
push ebx
push str.open
push eax
call fcn.10008960
add esp, 8
push eax
call fcn.10008960
add esp, 8
push eax
call fcn.10008960
add esp, 8
mov ecx, eax
call fcn.1000c840
push eax
call fcn.10008960
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.1003cc30
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x1003caf8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1000b900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1000cc10
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x1003cb33
push 2
push 0
push eax
call fcn.1007926b
add esp, 0xc
jmp 0x1003cb36
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.10061eb3
mov esp, ebp
pop ebp
ret 4