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

Disassembly:
push 0xffffffffffffffff
push 0x48df71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc8]
push 1
push edi
lea ecx, [esp + 0x34]
call fcn.00435790
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0xc0]
push eax
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x38]
lea ecx, [esi + 0x3c]
push edx
call fcn.004354c0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x44]
mov ebp, dword [esp + eax + 0x4c]
mov dword [esp + 0x20], ecx
shr ecx, 8
and cl, 1
mov dword [esp + 0x24], ebp
je 0x437cc7
test ebp, ebp
je 0x437cc7
mov bl, 1
jmp 0x437cc9
xor bl, bl
mov ecx, dword [esp + 0xc4]
push 0xffffffffffffffff
push 0
call fcn.004084d0
test bl, bl
jne 0x437ddf
test ebp, ebp
jle 0x437cf7
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x38]
call fcn.00435ba0
mov ecx, dword [edi + 0x14]
mov ebp, dword [ecx]
xor ebx, ebx
test byte [esi + 0x60], 2
mov dword [esp + 0x18], ebp
je 0x437d6e
mov edx, dword [edi + 0x24]
mov eax, dword [edx]
sub eax, ebp
test eax, 0xfffffffe
je 0x437d59
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.00418110
cmp word [ebp], ax
je 0x437d6e
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.00418110
cmp word [ebp], ax
je 0x437d6e
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.00418110
movzx ebx, ax
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov ecx, dword [edi + 0x14]
sub eax, dword [ecx]
mov ecx, dword [esi + 0x5c]
sar eax, 1
xor edx, edx
test bx, bx
setne dl
mov ebp, eax
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
sub ecx, edx
mov dword [esp + 0x10], ecx
cmp ebp, ecx
jb 0x437d9d
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x60]
movzx ebp, word [esp + edx + 0x64]
mov eax, dword [eax]
shr ecx, 2
and cl, 1
movzx edx, cl
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0xd0]
push ebp
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.00434f50
add esp, 0x20
jmp 0x4380a8
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x38]
call fcn.00435ba0
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x14]
mov eax, dword [edx]
mov ebp, dword [ecx]
mov ecx, dword [esp + 0xc0]
mov esi, eax
sub esi, ebp
sar esi, 1
xor bl, bl
test byte [ecx + 0x60], 2
je 0x437e4f
mov edx, dword [edi + 0x14]
sub eax, dword [edx]
test eax, 0xfffffffe
je 0x437e4d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.00418110
cmp word [ebp], ax
je 0x437e4f
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.00418110
cmp word [ebp], ax
je 0x437e4f
mov bl, 1
mov eax, dword [esp + 0x24]
cmp esi, eax
jne 0x437e7a
mov edx, dword [esp + 0xc0]
cmp eax, dword [edx + 0x5c]
jg 0x437e7a
test bl, bl
jne 0x437e7a
mov ecx, dword [esp + 0xc4]
push esi
push ebp
call fcn.00410830
jmp 0x4380a8
push esi
push ebp
mov ebp, dword [esp + 0xcc]
mov ecx, ebp
call fcn.00410830
mov ecx, edi
call fcn.00433ee0
push 1
push edi
lea ecx, [esp + 0x74]
call fcn.00435790
mov byte [esp + 0xb4], 1
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc0]
push eax
lea eax, [esp + edx + 0x78]
push eax
add ecx, 0x3c
call fcn.004354c0
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
test bl, bl
je 0x437eed
lea edx, [esp + 0x74]
push 0x20
push edx
call fcn.004236c0
add esp, 8
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x78]
call fcn.00435ba0
mov edx, dword [edi + 0x24]
mov eax, dword [edx]
mov ecx, dword [edi + 0x14]
sub eax, dword [ecx]
test eax, 0xfffffffe
jne 0x437f2f
mov edx, dword [esp + 0xc0]
test byte [edx + 0x60], 2
je 0x437f2f
lea eax, [esp + 0x74]
push 0x20
push eax
mov bl, 1
call fcn.004236c0
add esp, 8
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc0]
mov ecx, dword [ecx + 0x5c]
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
cmp eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x18]
jb 0x437f5f
lea eax, [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], eax
ja 0x437f79
push eax
push edx
mov ecx, ebp
call fcn.00410830
jmp 0x438037
xor ecx, ecx
test bl, bl
setne cl
add esi, ecx
cmp eax, esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x10]
jb 0x437f92
lea eax, [esp + 0x18]
mov edx, dword [eax]
movzx eax, bl
mov esi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp esi, edx
jae 0x437fee
sub eax, ecx
mov dword [esp + 0x20], eax
lea ebx, [eax + eax]
mov edi, edi
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0x14]
jbe 0x437fc2
call fcn.0046ec6c
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x18], 8
jb 0x437fcd
mov eax, dword [ebp + 4]
jmp 0x437fd0
lea eax, [ebp + 4]
mov ecx, dword [esp + 0x1c]
mov cx, word [ecx + esi*2]
cmp cx, word [eax + ebx]
jne 0x437fea
inc dword [esp + 0x20]
inc esi
add ebx, 2
cmp esi, edx
jb 0x437fb0
mov eax, dword [esp + 0x14]
cmp esi, dword [esp + 0x10]
jb 0x437ff6
mov esi, eax
mov edx, dword [esp + 0x1c]
push esi
push edx
mov ecx, ebp
call fcn.00410830
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
push ecx
sub eax, ebx
push eax
mov ecx, ebp
call fcn.0040cfe0
mov eax, dword [esp + 0x1c]
sub ebx, esi
lea ecx, [eax + esi*2]
push ebx
push ecx
mov ecx, ebp
call fcn.004121f0
mov byte [esp + 0xb4], 0
lea edx, [esp + 0x78]
mov dword [esp + 0x14], edx
mov byte [esp + 0xb4], 2
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x74], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0xb4], 0
lea edx, [esp + 0x6c]
mov dword [esp + 0x14], edx
mov byte [esp + 0xb4], 0
mov ecx, edx
call fcn.00404a90
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0xb4], 0
mov ecx, eax
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.0045a904
add esp, 4
mov ecx, edi
call fcn.00433ee0
or esi, 0xffffffff
mov dword [esp + 0xb4], esi
lea edx, [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0xb4], 6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x34], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0xb4], esi
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0xb4], esi
mov ecx, edx
call fcn.00404a90
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0xb4], esi
mov ecx, eax
push ecx
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.0045a904
mov ecx, dword [esp + 0xb0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret