Function at 0x10024d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007dc72
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100a6204]
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.1005c06d
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10024fad
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xcc], 0x10084258
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.10003dc0
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.10048f93
mov esi, eax
add esp, 4
test esi, esi
je 0x10024e74
push 1
call fcn.1002ae18
add esp, 4
mov dword [esi + 4], eax
jmp 0x10024e76
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 0x100871e0
push dword [ebp - 0x30]
push str._error.__
push ebx
push str.open
push eax
call fcn.100027c0
add esp, 8
push eax
call fcn.100027c0
add esp, 8
push eax
call fcn.100027c0
add esp, 8
mov ecx, eax
call fcn.10006630
push eax
call fcn.100027c0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100250c0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10024f88
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100053f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10006a00
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10024fc3
push 2
push 0
push eax
call fcn.1005c496
add esp, 0xc
jmp 0x10024fc6
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.10049342
mov esp, ebp
pop ebp
ret 4