Function at 0x4717e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5fbbe1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x24], 0
call fcn.0041488d
mov dword [esp + 0xbc], 1
mov ecx, dword [esp + 0xc8]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0046ff80
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
movzx esi, word [esp + 0xca]
push 0x30
lea ecx, [esp + ecx + 0x30]
call fcn.0041aed4
lea ecx, [esp + 0x24]
push 2
push ecx
mov bl, al
call fcn.004ff7eb
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x38]
mov edx, dword [eax]
push ecx
call edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
add esp, 0x10
push esi
lea ecx, [esp + 0x30]
lea eax, [esp + eax + 0x30]
push ecx
mov byte [eax + 0x30], bl
call fcn.0046ff80
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
movzx ebp, word [esp + 0xcc]
lea eax, [esp + 0x1c]
lea ecx, [esp + ecx + 0x2c]
push eax
call fcn.0041120a
push eax
mov byte [esp + 0xc0], 2
call fcn.00419d76
mov esi, eax
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x471915
push 0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.004fe788
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x4718f3
cmp eax, 0xffffffff
jae 0x4718f3
add eax, 0xffffffff
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x18]
and edi, ebx
call fcn.004fe7a9
test edi, edi
je 0x471915
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0x30
mov ecx, esi
call eax
lea ecx, [esp + 0x24]
push 2
push ecx
mov bl, al
call fcn.004ff7eb
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x38]
mov edx, dword [eax]
push ecx
call edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
add esp, 0x10
push ebp
lea ecx, [esp + 0x30]
lea eax, [esp + eax + 0x30]
push ecx
mov byte [eax + 0x30], bl
call fcn.0046ff80
mov ebp, dword [esp + 0xc4]
push ebp
lea ecx, [esp + 0x30]
call fcn.00414925
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x78]
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], edx
mov dword [esp + ecx + 0x2c], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0xbc], 3
test byte [esp + 0x70], 1
lea edx, [esp + 0x30]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x4719bf
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
push eax
call fcn.0051d492
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0
mov edx, dword [esp + 0x50]
mov dword [edx], 0
mov eax, dword [esp + 0x60]
mov dword [eax], 0
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0
mov edx, dword [esp + 0x54]
mov dword [edx], 0
mov eax, dword [esp + 0x64]
mov dword [eax], 0
and dword [esp + 0x70], 0xfffffffe
mov dword [esp + 0x6c], 0
mov dword [esp + 0x30], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0xbc], 4
mov eax, dword [esp + 0x68]
test eax, eax
mov ebx, eax
je 0x471a70
mov edi, dword [eax]
test edi, edi
je 0x471a67
push 0
lea ecx, [esp + 0x1c]
call fcn.004fe788
mov eax, dword [edi + 4]
test eax, eax
jbe 0x471a45
cmp eax, 0xffffffff
jae 0x471a45
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004fe7a9
test esi, esi
je 0x471a67
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.0051d492
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 3
call fcn.004fef19
mov byte [esp + 0xbc], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x78]
mov dword [esp + edx + 0x2c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.004fe6f2
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret