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

Disassembly:
push 0xffffffffffffffff
push 0x60fd00
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x28], 0
call fcn.0040c3f0
mov dword [esp + 0xd4], 1
lea ecx, [esp + 0x44]
push 0x6d3248
lea esi, [ebx + 0x9c]
push ecx
mov dword [esp + 0x28], esi
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
mov eax, dword [ebx + 0x70]
mov ebp, dword [eax]
mov esi, dword [ebx + 0x58]
add esp, 0xc
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov edi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x58]
test esi, esi
je 0x46d02e
cmp esi, eax
je 0x46d033
call fcn.005c475a
cmp ebp, edi
je 0x46d0d4
test esi, esi
jne 0x46d0c9
call fcn.005c475a
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x46d054
call fcn.005c475a
mov edi, dword [ebp + 0x28]
add edi, 0x3c
test esi, esi
jne 0x46d0d0
call fcn.005c475a
cmp ebp, dword [esi + 0x18]
jne 0x46d06d
call fcn.005c475a
mov esi, dword [ebp + 0x28]
push 0x6cb388
push ecx
push 0x6d324c
push ecx
lea edx, [esp + 0x54]
push 0x6cb38c
push edx
add esi, 0x20
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
push eax
mov ecx, edi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
add esp, 8
lea esi, [esp + 0x18]
call fcn.004297e0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x46d020
mov eax, dword [esi]
jmp 0x46d04a
mov esi, dword [esi]
jmp 0x46d063
lea eax, [esp + 0x44]
push 0x6d3254
push eax
call fcn.00413400
add esp, 8
push 0xa
lea ecx, [esp + 0x48]
call fcn.00475890
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x4c]
xor esi, esi
test cl, 6
jne 0x46d11a
mov eax, dword [esp + eax + 0x6c]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x46d11a
mov esi, 4
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x44]
test esi, esi
je 0x46d13f
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x46d137
or eax, 4
push 0
push eax
call fcn.00403a10
lea edx, [esp + 0x44]
lea ecx, [ebx + 0x3c]
push edx
call fcn.004135d0
add esp, 4
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00475890
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x46d180
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x46d180
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x46d1a1
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x46d199
or eax, 4
push 0
push eax
call fcn.00403a10
mov eax, dword [ebx + 0x90]
mov ebp, dword [eax]
mov esi, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov edi, dword [ebx + 0x90]
mov eax, dword [ebx + 0x78]
test esi, esi
je 0x46d1c5
cmp esi, eax
je 0x46d1ca
call fcn.005c475a
cmp ebp, edi
je 0x46d26c
test esi, esi
jne 0x46d265
call fcn.005c475a
cmp ebp, dword [esi + 0x18]
jne 0x46d1e9
call fcn.005c475a
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x28]
push edx
call fcn.0046cfa0
mov byte [esp + 0xd4], 2
push 0x6cb370
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.004135d0
add esp, 8
push eax
call fcn.00413400
add esp, 8
mov byte [esp + 0xd4], 1
cmp dword [esp + 0x40], 8
jb 0x46d238
mov edx, dword [esp + 0x2c]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.004297e0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x46d1b4
mov esi, dword [esi]
jmp 0x46d1df
push 0x6d3254
push ecx
lea ecx, [esp + 0x4c]
push 0x6d3258
push ecx
call fcn.00413400
mov ecx, dword [esp + 0x30]
push eax
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
mov esi, dword [esp + 0xe4]
add esp, 8
push esi
lea edx, [esp + 0x48]
push edx
call fcn.0040c4f0
mov dword [esp + 0x24], 1
mov byte [esp + 0xd4], 0
lea ecx, [esp + 0x90]
call fcn.0040c480
lea eax, [esp + 0x90]
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], vtable.std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__.0
mov dword [esp + 0xd4], 0
mov ecx, eax
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005c27ca
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 4