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

Disassembly:
push 0xffffffffffffffff
push 0x48dce3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebx, ecx
push 1
push edi
lea ecx, [esp + 0x34]
call fcn.00423150
mov eax, dword [esp + 0xcc]
xor esi, esi
mov dword [esp + 0xbc], esi
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x38]
lea ecx, [ebx + 0x3c]
push edx
call fcn.004268e0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov ebp, dword [esp + eax + 0x44]
mov ecx, ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + eax + 0x4c]
shr ecx, 8
and cl, 1
mov dword [esp + 0x24], ebp
je 0x420d19
mov byte [esp + 0x13], 1
cmp ebp, esi
jne 0x420d1e
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0xc8]
push 0xffffffffffffffff
push esi
call fcn.0040f4f0
cmp byte [esp + 0x13], 0
jne 0x420e3a
cmp ebp, esi
jle 0x420d4a
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], esi
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0042a1f0
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
add esp, 8
test byte [ebx + 0x60], 2
mov dword [esp + 0x18], ecx
je 0x420dc9
mov edx, dword [edi + 0x24]
mov eax, dword [edx]
sub eax, ecx
test eax, 0xfffffffe
je 0x420db4
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.00411340
mov ecx, dword [esp + 0x18]
cmp word [ecx], ax
je 0x420dc9
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.00411340
mov ecx, dword [esp + 0x18]
cmp word [ecx], ax
je 0x420dc9
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.00411340
movzx esi, ax
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov ecx, dword [edi + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebx + 0x5c]
sar eax, 1
xor edx, edx
test si, si
setne dl
mov ebp, eax
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x14], ecx
cmp ebp, ecx
jb 0x420df8
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0x64]
mov edx, dword [ebx + 0x60]
mov eax, dword [eax]
shr edx, 2
and dl, 1
movzx edx, dl
push edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0xe0]
push edx
push eax
call fcn.00426b40
add esp, 0x20
jmp 0x4210e4
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0042a1f0
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x14]
mov eax, dword [edx]
mov ebp, dword [ecx]
mov esi, eax
sub esi, ebp
add esp, 8
sar esi, 1
test byte [ebx + 0x60], 2
mov byte [esp + 0x13], 0
je 0x420eaa
sub eax, dword [ecx]
test eax, 0xfffffffe
je 0x420ea5
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.00411340
cmp word [ebp], ax
je 0x420eaa
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.00411340
cmp word [ebp], ax
je 0x420eaa
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x24]
cmp esi, eax
jne 0x420ed1
cmp eax, dword [ebx + 0x5c]
jg 0x420ed1
cmp byte [esp + 0x13], 0
jne 0x420ed1
mov ecx, dword [esp + 0xc8]
push esi
push ebp
call fcn.0040d290
jmp 0x4210e4
push esi
push ebp
mov ebp, dword [esp + 0xd0]
mov ecx, ebp
call fcn.0040d290
mov ecx, edi
call fcn.00426ac0
push 1
push edi
lea ecx, [esp + 0x74]
call fcn.00423150
mov ecx, dword [esp + 0xcc]
mov byte [esp + 0xbc], 1
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
push ecx
lea ecx, [esp + eax + 0x78]
push ecx
lea ecx, [ebx + 0x3c]
call fcn.004268e0
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x420f40
lea eax, [esp + 0x74]
push 0x20
push eax
call fcn.00426c50
add esp, 8
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.0042a1f0
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov edx, dword [edi + 0x14]
sub eax, dword [edx]
add esp, 8
test eax, 0xfffffffe
jne 0x420f82
test byte [ebx + 0x60], 2
je 0x420f82
lea eax, [esp + 0x74]
push 0x20
push eax
mov byte [esp + 0x1b], 1
call fcn.00426c50
add esp, 8
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x24]
mov ecx, dword [ecx]
mov eax, dword [edx]
mov ebx, dword [ebx + 0x5c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x1c]
jb 0x420fab
lea eax, [esp + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
ja 0x420fc5
push ebx
push ecx
mov ecx, ebp
call fcn.0040d290
jmp 0x421086
mov al, byte [esp + 0x13]
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x1c]
add esi, ecx
mov dword [esp + 0x14], esi
cmp ebx, esi
jb 0x420fe2
lea edx, [esp + 0x14]
mov edx, dword [edx]
movzx eax, al
mov esi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
cmp esi, edx
jae 0x421043
sub eax, ecx
mov dword [esp + 0x18], eax
add eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x14]
jbe 0x42100f
call fcn.00469f76
cmp dword [ebp + 0x18], 8
jb 0x42101a
mov eax, dword [ebp + 4]
jmp 0x42101d
lea eax, [ebp + 4]
mov edx, dword [esp + 0x20]
mov cx, word [edx + esi*2]
mov edx, dword [esp + 0x14]
cmp cx, word [eax + edx]
jne 0x42103f
inc dword [esp + 0x18]
add dword [esp + 0x14], 2
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x421001
mov eax, dword [esp + 0x28]
cmp esi, ebx
jb 0x421049
mov esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.0040d290
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
push ecx
sub eax, ebx
push eax
mov ecx, ebp
call fcn.004153a0
mov eax, dword [esp + 0x20]
sub ebx, esi
lea ecx, [eax + esi*2]
push ebx
push ecx
mov ecx, ebp
call fcn.0040f3d0
mov byte [esp + 0xbc], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x74], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4210cf
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4210cf
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4210cf
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.0046880a
add esp, 4
mov ecx, edi
call fcn.00426ac0
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x34], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x421137
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x421137
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421137
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.0046880a
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret