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

Disassembly:
push 0xffffffffffffffff
push 0x4889dc
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x154]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0042f5e0
xor ebx, ebx
mov dword [esp + 0x148], ebx
cmp dword [esp + 0x70], ebx
jne 0x42f066
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x74]
mov dword [esp + 0x18], edx
mov dword [esp + ecx + 0x1c], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x148], 1
lea edx, [esp + 0x24]
mov dword [esp + 0xac], edx
mov dword [esp + 0x24], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x148], 2
cmp byte [esp + 0x6c], bl
je 0x42efba
cmp dword [esp + 0x70], ebx
je 0x42ef58
mov ecx, edx
call fcn.00413e55
mov eax, dword [esp + 0x70]
push eax
call fcn.00453868
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x30]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [0x4b335c]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x50]
mov byte [esp + 0x6c], bl
mov byte [esp + 0x66], bl
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x148], 3
mov eax, dword [esp + 0x5c]
mov ebp, eax
cmp eax, ebx
je 0x42f01f
mov edi, dword [eax]
cmp edi, ebx
je 0x42f016
push ebx
lea ecx, [esp + 0x18]
call fcn.0044f2df
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x42eff4
cmp eax, 0xffffffff
jae 0x42eff4
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.0044f307
cmp esi, ebx
je 0x42f016
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0045061f
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 1
call fcn.0044f0fc
mov dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x74]
mov dword [esp + edx + 0x1c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.0044f0a1
add esp, 4
xor eax, eax
jmp 0x42f404
xor ecx, ecx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], cx
lea edx, [esp + 0xe8]
push edx
lea ebx, [esp + 0x20]
mov byte [esp + 0x14c], 4
call fcn.00430010
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 4
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x42f259
lea ecx, [ecx]
mov esi, dword [esp + 0xfc]
test esi, esi
je 0x42f228
lea ecx, [esp + 0xe8]
push ecx
mov edi, 1
or ecx, 0xffffffff
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x2c
call fcn.00429650
mov edi, eax
cmp edi, 0xffffffff
je 0x42f228
push esi
lea edx, [esp + 0xec]
lea ebx, [edi + 1]
push edx
lea esi, [esp + 0xd4]
call fcn.00407f24
mov ebp, eax
push edi
lea eax, [esp + 0xec]
push eax
xor ebx, ebx
lea esi, [esp + 0xb8]
mov byte [esp + 0x150], 5
call fcn.00407f24
push ebp
push eax
lea ecx, [esp + 0x10c]
push ecx
mov byte [esp + 0x154], 6
call fcn.0042ee00
mov esi, 8
cmp dword [esp + 0xc8], esi
jb 0x42f169
mov edx, dword [esp + 0xb4]
push edx
call fcn.0045061f
add esp, 4
mov edi, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], ax
mov byte [esp + 0x148], 9
cmp dword [esp + 0xe4], esi
jb 0x42f1a9
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0045061f
add esp, 4
lea eax, [esp + 0x104]
mov dword [esp + 0xe0], ebx
mov ebx, dword [esp + 0x18]
xor edx, edx
push eax
mov dword [esp + 0xe8], edi
mov word [esp + 0xd4], dx
call fcn.0042f540
mov byte [esp + 0x148], 4
cmp dword [esp + 0x138], esi
jb 0x42f1f3
mov ecx, dword [esp + 0x124]
push ecx
call fcn.0045061f
add esp, 4
xor edx, edx
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], 0
mov word [esp + 0x124], dx
cmp dword [esp + 0x11c], esi
jb 0x42f228
mov eax, dword [esp + 0x108]
push eax
call fcn.0045061f
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
lea ebx, [esp + 0x20]
call fcn.00430010
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 4
neg edx
sbb edx, edx
not edx
test ecx, edx
jne 0x42f0c0
lea eax, [esp + 0x1c]
push eax
call fcn.0042f8b0
cmp dword [esp + 0x100], 8
jb 0x42f27d
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0045061f
add esp, 4
mov ecx, dword [esp + 0x1c]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x74]
mov dword [esp + 0xac], eax
mov dword [esp + edx + 0x1c], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x148], 0xa
lea eax, [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x148], 0xb
cmp byte [esp + 0x6c], bl
je 0x42f35a
cmp dword [esp + 0x70], ebx
je 0x42f2f8
mov ecx, eax
call fcn.00413e55
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00453868
add esp, 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov edx, dword [0x4b335c]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], bl
mov byte [esp + 0x66], bl
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x148], 0xc
mov eax, dword [esp + 0x5c]
mov ebp, eax
cmp eax, ebx
je 0x42f3bf
mov edi, dword [eax]
cmp edi, ebx
je 0x42f3b6
push ebx
lea ecx, [esp + 0x18]
call fcn.0044f2df
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x42f394
cmp eax, 0xffffffff
jae 0x42f394
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.0044f307
cmp esi, ebx
je 0x42f3b6
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0045061f
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xa
call fcn.0044f0fc
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x74]
mov dword [esp + ecx + 0x1c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push edx
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.0044f0a1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004504a7
add esp, 0x138
ret 8