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

Disassembly:
push 0xffffffffffffffff
push 0x4acff0
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4d7334]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d7334]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x13c]
mov ebx, ecx
push str.__b_f_n_r_t
push ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0
call fcn.0047e770
add esp, 8
test eax, eax
jne 0x47399b
cmp byte [ebp], al
mov ecx, ebp
je 0x4738fd
lea ecx, [ecx]
movzx eax, byte [ecx]
sub al, 1
mov dl, 0x1e
cmp dl, al
sbb eax, eax
add eax, 1
add ecx, 1
test al, al
jne 0x47399b
cmp byte [ecx], al
jne 0x4738e0
mov esi, 0xf
xor edi, edi
push 0x4b6fa0
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
call fcn.004766a0
add esp, 4
push eax
push 0x4b6fa0
lea ecx, [esp + 0x2c]
call fcn.00404783
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x140], edi
call fcn.0046570b
add esp, 0xc
push 0x4b6fa0
push eax
push ebx
mov byte [esp + 0x140], 1
call fcn.0046570b
mov edi, 0x10
add esp, 0xc
cmp dword [esp + 0x78], edi
jb 0x473976
mov edx, dword [esp + 0x64]
push edx
call fcn.00478eb2
add esp, 4
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
jb 0x473f27
mov eax, dword [esp + 0x28]
push eax
jmp 0x473f1f
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4739a0
sub eax, edx
lea esi, [eax + eax + 3]
mov eax, 0xf
xor edi, edi
mov dword [esp + 0x120], eax
mov dword [esp + 0x11c], edi
mov byte [esp + 0x10c], 0
cmp esi, eax
mov dword [esp + 0x134], 2
je 0x473a35
cmp esi, 0xfffffffe
jbe 0x4739f3
call fcn.00475aab
mov eax, dword [esp + 0x120]
mov edi, dword [esp + 0x11c]
cmp eax, esi
jae 0x473a83
push edi
push esi
lea ecx, [esp + 0x110]
call fcn.00404ceb
mov eax, dword [esp + 0x120]
test esi, esi
jbe 0x473a35
cmp eax, 0x10
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x11c], 0
jae 0x473a32
lea eax, [esp + 0x10c]
mov byte [eax], 0
push 0x4b6fa0
call fcn.004766a0
add esp, 4
push eax
push 0x4b6fa0
lea eax, [esp + 0x110]
call fcn.00402196
cmp byte [ebp], 0
mov edi, ebp
mov dword [esp + 0x18], ebp
je 0x473ec9
mov bl, byte [edi]
movsx eax, bl
add eax, 0xfffffff8
cmp eax, 0x54
ja case.0x473a7c.11
movzx edx, byte [eax + 0x473f9c]
jmp dword [edx*4 + 0x473f7c]
cmp esi, 0x10
jae 0x473ae0
cmp esi, edi
jae 0x473a8e
mov edi, esi
cmp eax, 0x10
jb 0x473ac1
test edi, edi
mov eax, dword [esp + 0x10c]
mov ebx, eax
jbe 0x473ab4
push edi
push eax
lea ecx, [esp + 0x114]
push 0x10
push ecx
call fcn.004784e8
add esp, 0x10
push ebx
call fcn.00478eb2
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], edi
mov byte [esp + edi + 0x10c], 0
jmp 0x473a09
test esi, esi
jne 0x473a12
jmp 0x473a14
push 0x4c34cc
call fcn.004766a0
add esp, 4
push eax
push 0x4c34cc
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34d0
call fcn.004766a0
add esp, 4
push eax
push 0x4c34d0
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34d4
call fcn.004766a0
add esp, 4
push eax
push 0x4c34d4
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34d8
call fcn.004766a0
add esp, 4
push eax
push 0x4c34d8
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34dc
call fcn.004766a0
add esp, 4
push eax
push 0x4c34dc
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34e0
call fcn.004766a0
add esp, 4
push eax
push 0x4c34e0
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
push 0x4c34e4
call fcn.004766a0
add esp, 4
push eax
push 0x4c34e4
lea eax, [esp + 0x110]
call fcn.00402196
jmp 0x473eb5
mov al, bl
sub al, 1
cmp al, 0x1e
ja 0x473e1d
lea ecx, [esp + 0x7c]
push ecx
call fcn.00402337
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x138], 3
call fcn.004753c0
mov esi, eax
xor ebp, ebp
add esp, 4
cmp esi, ebp
jne 0x473c20
xor eax, eax
jmp 0x473c27
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x10]
and ecx, 0xfffff9ff
or ecx, 0x800
cmp esi, ebp
mov dword [eax + 0x10], ecx
jne 0x473c41
xor eax, eax
jmp 0x473c48
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
or dword [eax + 0x10], 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x100]
add eax, esi
push 4
push ecx
mov byte [eax + 0x30], 0x30
call fcn.00475e94
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
movsx ecx, byte [edi]
add esp, 0x10
push ecx
push esi
call fcn.00402230
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x80]
call fcn.004023f2
push 0xffffffffffffffff
push ebp
lea esi, [esp + 0x110]
mov byte [esp + 0x13c], 4
call fcn.00404ddd
cmp dword [esp + 0x5c], 0x10
jb 0x473cbf
mov eax, dword [esp + 0x48]
push eax
call fcn.00478eb2
add esp, 4
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x40], ecx
mov dword [esp + eax + 0x7c], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0xc0], 1
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x80], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x473d1c
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
push eax
call fcn.00478eb2
add esp, 4
mov eax, dword [esp + 0x90]
mov dword [eax], ebp
mov ecx, dword [esp + 0xa0]
mov dword [ecx], ebp
mov edx, dword [esp + 0xb0]
mov dword [edx], ebp
mov eax, dword [esp + 0x94]
mov dword [eax], ebp
mov ecx, dword [esp + 0xa4]
mov dword [ecx], ebp
mov edx, dword [esp + 0xb4]
mov dword [edx], ebp
and dword [esp + 0xc0], 0xfffffffe
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x80], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x134], 6
mov eax, dword [esp + 0xb8]
cmp eax, ebp
mov ebx, eax
je 0x473dd2
mov edi, dword [eax]
cmp edi, ebp
je 0x473dc5
push ebp
lea ecx, [esp + 0x20]
call fcn.00475ceb
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x473da3
cmp eax, 0xffffffff
jae 0x473da3
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.00475d0c
cmp esi, ebp
je 0x473dc5
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.00478eb2
mov edi, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x134], 5
call fcn.00475a6b
mov byte [esp + 0x134], 2
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xc8]
mov dword [esp + ecx + 0x7c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push edx
mov dword [esp + 0xcc], vtable.std::ios_base.0
call fcn.0047570a
add esp, 4
jmp 0x473eb5
or eax, 0xffffffff
sub eax, dword [esp + 0x11c]
cmp eax, 1
ja 0x473e31
call fcn.00475aab
mov esi, dword [esp + 0x11c]
add esi, 1
cmp esi, 0xfffffffe
jbe 0x473e45
call fcn.00475aab
mov eax, dword [esp + 0x120]
cmp eax, esi
jae 0x473f51
mov ecx, dword [esp + 0x11c]
push ecx
push esi
lea ecx, [esp + 0x110]
call fcn.00404ceb
test esi, esi
jbe 0x473eb5
mov eax, dword [esp + 0x10c]
mov ecx, 0x10
cmp dword [esp + 0x120], ecx
jae 0x473e89
lea eax, [esp + 0x10c]
mov edx, dword [esp + 0x11c]
mov byte [eax + edx], bl
cmp dword [esp + 0x120], ecx
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x11c], esi
jae 0x473eb1
lea eax, [esp + 0x10c]
mov byte [eax + esi], 0
add edi, 1
cmp byte [edi], 0
mov dword [esp + 0x18], edi
jne 0x473a64
mov ebx, dword [esp + 0x14]
push 0x4b6fa0
call fcn.004766a0
add esp, 4
push eax
push 0x4b6fa0
lea eax, [esp + 0x110]
call fcn.00402196
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x110]
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
push eax
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.004047f5
cmp dword [esp + 0x120], 0x10
jb 0x473f27
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00478eb2
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0047e757
add esp, 0x124
ret
test esi, esi
jne 0x473e6b
cmp eax, 0x10
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x11c], esi
jae 0x473f73
lea eax, [esp + 0x10c]
mov byte [eax], 0
jmp 0x473eb5