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

Disassembly:
push 0xffffffffffffffff
push 0x49a5c3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xcc]
push 1
push edi
lea ecx, [esp + 0x38]
call fcn.00436a00
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xc4]
push eax
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x3c]
xor esi, esi
lea ecx, [ebx + 0x3c]
push edx
mov dword [esp + 0xc0], esi
call fcn.00436c80
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov ebp, dword [esp + eax + 0x48]
mov ecx, ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + eax + 0x50]
shr ecx, 8
and cl, 1
mov dword [esp + 0x28], ebp
je 0x446b56
mov byte [esp + 0x17], 1
cmp ebp, esi
jne 0x446b5b
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xc8]
push 0xffffffffffffffff
push esi
call fcn.00401d70
cmp byte [esp + 0x17], 0
jne 0x446c73
cmp ebp, esi
jle 0x446b87
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x38]
mov dword [eax + 0x18], esi
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004461b0
test byte [ebx + 0x60], 2
mov edx, dword [edi + 0x14]
mov ecx, dword [edx]
mov dword [esp + 0x1c], ecx
je 0x446c02
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
sub eax, ecx
test eax, 0xfffffffe
je 0x446bed
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x3c]
call fcn.0043e4f0
mov edx, dword [esp + 0x1c]
cmp word [edx], ax
je 0x446c02
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
push 0x2d
lea ecx, [esp + ecx + 0x3c]
call fcn.0043e4f0
mov ecx, dword [esp + 0x1c]
cmp word [ecx], ax
je 0x446c02
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 4]
push 0x20
lea ecx, [esp + ecx + 0x3c]
call fcn.0043e4f0
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 + 0x24], ebp
lea eax, [esp + 0x24]
sub ecx, edx
mov dword [esp + 0x18], ecx
cmp ebp, ecx
jb 0x446c31
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0x68]
mov edx, dword [ebx + 0x60]
mov eax, dword [eax]
shr edx, 2
and dl, 1
movzx edx, dl
push edx
mov edx, dword [esp + 0x24]
push esi
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0xe0]
push edx
push eax
call fcn.00436eb0
add esp, 0x20
jmp 0x446f1b
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
push edx
lea ecx, [esp + 0x3c]
call fcn.004461b0
mov eax, dword [edi + 0x14]
mov ebp, dword [eax]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov esi, eax
sub esi, ebp
sar esi, 1
test byte [ebx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x446ce2
mov edx, dword [edi + 0x14]
sub eax, dword [edx]
test eax, 0xfffffffe
je 0x446cdd
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x3c]
call fcn.0043e4f0
cmp word [ebp], ax
je 0x446ce2
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x3c]
call fcn.0043e4f0
cmp word [ebp], ax
je 0x446ce2
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x28]
cmp esi, eax
jne 0x446d09
cmp eax, dword [ebx + 0x5c]
jg 0x446d09
cmp byte [esp + 0x17], 0
jne 0x446d09
mov ecx, dword [esp + 0xc8]
push esi
push ebp
call fcn.00401f40
jmp 0x446f1b
push esi
push ebp
mov ebp, dword [esp + 0xd0]
mov ecx, ebp
call fcn.00401f40
mov ecx, edi
call fcn.00436de0
push 1
push edi
lea ecx, [esp + 0x78]
call fcn.00436a00
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0xd0]
mov ecx, dword [eax + 4]
push edx
lea edx, [esp + ecx + 0x7c]
push edx
lea ecx, [ebx + 0x3c]
mov byte [esp + 0xc0], 1
call fcn.00436c80
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
lea eax, [esp + eax + 0x78]
mov dword [eax + 0x18], 0
je 0x446d78
lea ecx, [esp + 0x78]
push 0x20
push ecx
call fcn.0043fa90
add esp, 8
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x7c]
call fcn.004461b0
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov edx, dword [edi + 0x14]
sub eax, dword [edx]
test eax, 0xfffffffe
jne 0x446db6
test byte [ebx + 0x60], 2
je 0x446db6
lea eax, [esp + 0x78]
push 0x20
push eax
mov byte [esp + 0x1f], 1
call fcn.0043fa90
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 + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x20]
jb 0x446ddf
lea eax, [esp + 0x18]
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x28], ebx
ja 0x446df9
push ebx
push ecx
mov ecx, ebp
call fcn.00401f40
jmp 0x446eba
mov al, byte [esp + 0x17]
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x20]
add esi, ecx
mov dword [esp + 0x18], esi
cmp ebx, esi
jb 0x446e16
lea edx, [esp + 0x18]
mov edx, dword [edx]
movzx eax, al
mov esi, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
cmp esi, edx
jae 0x446e77
sub eax, ecx
mov dword [esp + 0x1c], eax
add eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebp + 0x14]
jbe 0x446e43
call fcn.0047c0a1
cmp dword [ebp + 0x18], 8
jb 0x446e4e
mov eax, dword [ebp + 4]
jmp 0x446e51
lea eax, [ebp + 4]
mov edx, dword [esp + 0x24]
mov cx, word [edx + esi*2]
mov edx, dword [esp + 0x18]
cmp cx, word [eax + edx]
jne 0x446e73
inc dword [esp + 0x1c]
add dword [esp + 0x18], 2
inc esi
cmp esi, dword [esp + 0x20]
jb 0x446e35
mov eax, dword [esp + 0x2c]
cmp esi, ebx
jb 0x446e7d
mov esi, eax
mov eax, dword [esp + 0x24]
push esi
push eax
mov ecx, ebp
call fcn.00401f40
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0xa8]
mov eax, dword [esp + 0x28]
push ecx
sub eax, ebx
push eax
mov ecx, ebp
call fcn.00401540
mov eax, dword [esp + 0x24]
sub ebx, esi
lea ecx, [eax + esi*2]
push ebx
push ecx
mov ecx, ebp
call fcn.004051f0
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x78], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x74]
mov byte [esp + 0xb8], 0
test esi, esi
je 0x446f03
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x446f03
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 0x446f03
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], vtable.std::ios_base.0
call fcn.004617ee
add esp, 4
mov ecx, edi
call fcn.00436de0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x38], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
test esi, esi
je 0x446f6e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x446f6e
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 0x446f6e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], vtable.std::ios_base.0
call fcn.004617ee
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret