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

Disassembly:
push 0xffffffffffffffff
push 0x473f64
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x493f58]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x493f58]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp dword [esi + 0x10], ebx
je 0x43f2bb
push 0x47be10
push esi
push eax
call fcn.0043c7a0
add esp, 8
push eax
call fcn.00408ea0
add esp, 8
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x43f639
lea edx, [esp + 0x90]
lea ecx, [esp + 0x48]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov edx, dword [esp + 0x24]
mov edi, dword [eax + edx*8]
mov dword [esp + 0x30], 0x47bdc0
mov dword [esp + 0x40], 0x47ff98
or dword [esp + 0x2c], 1
lea ecx, [esp + 0x90]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x90], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004019b0
lea eax, [esp + 0x48]
push 0x20
lea ecx, [esp + 0x94]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ebx
call fcn.004129b0
mov byte [esp + 0xd0], al
cmp dword [esp + 0xc8], ebx
jne 0x43f37d
mov eax, dword [esp + 0x9c]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x98]
call fcn.00401870
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x40], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x124], 5
mov dword [esp + eax + 0x30], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00410e30
mov dword [esp + 0x48], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edi
mov dword [esp + 0x128], 7
call fcn.0043d220
mov ebp, eax
lea edx, [esp + 0xfc]
push edx
mov ecx, edi
mov byte [esp + 0x128], 8
call fcn.0043d0c0
push ebp
push 0x20
push eax
lea eax, [esp + 0x4c]
push 0x47be0c
push eax
mov byte [esp + 0x138], 9
call fcn.00408ea0
add esp, 8
push eax
call fcn.0043c7a0
add esp, 8
push eax
call fcn.0043ca40
add esp, 8
push eax
call fcn.0043c7a0
mov edi, 0x10
add esp, 8
cmp dword [esp + 0x110], edi
jb 0x43f45e
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0044bc75
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
mov byte [esp + 0x124], 7
cmp dword [esp + 0xf4], edi
jb 0x43f498
mov edx, dword [esp + 0xe0]
push edx
call fcn.0044bc75
add esp, 4
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x34]
call fcn.0043ddb0
mov eax, dword [eax + 0x10]
cmp dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
jb 0x43f4be
lea eax, [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0xf4], edi
jb 0x43f4dd
mov edx, dword [esp + 0xe0]
push edx
call fcn.0044bc75
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x88], 1
mov dword [esp + 0x124], 0xa
mov dword [esp + 0x48], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x43f518
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
push eax
call fcn.0044bc75
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov ecx, dword [esp + 0x68]
mov dword [ecx], ebx
mov edx, dword [esp + 0x78]
mov dword [edx], ebx
mov eax, dword [esp + 0x5c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x7c]
mov dword [edx], ebx
and dword [esp + 0x88], 0xfffffffe
mov dword [esp + 0x84], ebx
mov dword [esp + 0x48], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x124], 0xb
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x43f5b9
mov ebp, dword [eax]
cmp ebp, ebx
je 0x43f5ac
push ebx
lea ecx, [esp + 0x20]
call fcn.004315a5
mov eax, dword [ebp + 4]
cmp eax, ebx
jbe 0x43f58a
cmp eax, 0xffffffff
jae 0x43f58a
dec eax
mov dword [ebp + 4], eax
mov edi, dword [ebp + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x1c]
and edi, ebp
call fcn.004315cd
cmp edi, ebx
je 0x43f5ac
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov eax, dword [esp + 0x20]
push eax
call fcn.0044bc75
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x124], 0xa
call fcn.00433703
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x30], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x40], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x90]
mov dword [esp + eax + 0x30], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004320ce
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov ecx, dword [esp + 0x28]
sub edx, eax
inc ecx
sar edx, 3
add esp, 4
mov dword [esp + 0x24], ecx
cmp ecx, edx
jb 0x43f2f3
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x20]
dec eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
jb 0x43f652
lea eax, [esp + 0x18]
mov ebp, dword [eax]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
sub ecx, eax
sar ecx, 3
inc ebp
xor edi, edi
test ecx, ecx
je 0x43f6a3
mov edx, dword [esi + 0x34]
cmp byte [edi + edx], bl
jne 0x43f693
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + edi*8]
mov eax, dword [esp + 0x28]
push ecx
push ebp
push edx
push eax
call fcn.0043edc0
mov ecx, dword [esp + 0x38]
push 0x47fd04
push ecx
call fcn.00408ea0
add esp, 0x18
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
sub edx, eax
inc edi
sar edx, 3
cmp edi, edx
jb 0x43f666
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
sub ecx, eax
sar ecx, 3
xor edi, edi
test ecx, ecx
je 0x43f6e1
mov edx, dword [esp + 0x28]
mov ebp, dword [eax + edi*8]
push 0x47fd04
push edx
call fcn.00408ea0
add esp, 8
push eax
mov ecx, ebp
call fcn.0043f250
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
sub ecx, eax
inc edi
sar ecx, 3
cmp edi, ecx
jb 0x43f6b4
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044bab6
add esp, 0x114
ret 4