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

Disassembly:
mov ecx, dword [0x4b8788]
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov ebp, ecx
push edi
cmp byte [esi + 0x6f], 0
je 0x45f71e
movups xmm0, xmmword [ebp + 0x48e8]
push esi
movups xmmword [esp + 0x64], xmm0
movups xmm0, xmmword [ebp + 0x48f8]
movups xmmword [esp + 0x54], xmm0
call fcn.0045e050
movups xmm0, xmmword [esp + 0x64]
add esp, 4
movups xmmword [ebp + 0x48e8], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [ebp + 0x48f8], xmm0
mov ecx, dword [0x4b8788]
mov eax, dword [ebp + 0x3f8c]
mov dword [esp + 0x18], eax
cmp byte [eax + 0xb3], 0
jne 0x45f795
test dword [esi + 0xc], 0x100000
push 0
je 0x45f757
push 0
push dword [esp + 0xac]
call fcn.0043efd0
mov ebx, eax
push ebx
call fcn.00440f90
add esp, 0x10
jmp 0x45f76b
push dword [esp + 0xa8]
mov ecx, dword [ecx + 0x3f8c]
call fcn.0043e100
mov ebx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x45f7a2
cmp byte [ecx], 0
jne 0x45f7a2
push 8
push 0
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.00440910
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x8c
ret
mov eax, dword [esp + 0xac]
test eax, 0x100000
je 0x45f7bd
mov dword [esp + 0xa8], 0
jmp 0x45f7cd
test ecx, ecx
jne 0x45f7cd
or eax, 0x100000
mov dword [esp + 0xac], eax
test ebx, ebx
je 0x45f7ec
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x45f7ec
mov edi, dword [esi + 8]
lea edx, [esi + 8]
nop
cmp dword [edi], ebx
je 0x45f7f1
inc eax
add edi, 0x2c
cmp eax, ecx
jl 0x45f7e0
xor edi, edi
lea edx, [esi + 8]
mov byte [esp + 0x13], 0
test edi, edi
jne 0x45f908
mov ecx, dword [esi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov word [esp + 0x96], ax
mov word [esp + 0x94], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x88], edi
mov edi, edx
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0xffffffff
cmp ecx, eax
jne 0x45f8c3
inc ecx
test eax, eax
je 0x45f86c
cdq
sub eax, edx
mov edx, dword [esi + 4]
sar eax, 1
add eax, edx
jmp 0x45f874
mov edx, dword [esi + 4]
mov eax, 8
cmp eax, ecx
lea edi, [esi + 8]
cmovg ecx, eax
mov dword [esp + 0x30], ecx
cmp ecx, edx
jle 0x45f8c0
imul eax, ecx, 0x2c
push eax
call fcn.00441570
mov edx, dword [esi + 8]
lea edi, [esi + 8]
add esp, 4
mov dword [esp + 0x28], eax
test edx, edx
je 0x45f8b7
imul ecx, dword [esi], 0x2c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi]
call fcn.004415b0
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esi + 8]
imul eax, dword [esi], 0x2c
movups xmm0, xmmword [esp + 0x70]
mov byte [esp + 0x13], 1
add eax, dword [edi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x90]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [esi]
imul ecx, dword [esi], 0x2c
mov edi, dword [edi]
add ecx, 0xffffffd4
add edi, ecx
mov dword [edi], ebx
mov byte [esi + 0x71], 1
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [edx]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xa8], 0
mov word [esi + 0x74], ax
jne 0x45f939
test byte [esp + 0xac], 1
jne 0x45f939
xor al, al
jmp 0x45f93b
mov al, 1
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x58]
push eax
call fcn.0045f5b0
add esp, 0xc
mov dword [edi + 0x1c], 0xbf800000
test byte [ebp + 0x48e8], 1
je 0x45f96f
movss xmm1, dword [ebp + 0x48f8]
movss dword [edi + 0x1c], xmm1
jmp 0x45f975
movss xmm1, dword [esp + 0x50]
cmp byte [esp + 0x13], 0
movss xmm6, dword [0x469630]
je 0x45f990
movaps xmm0, xmm6
maxss xmm0, xmm1
movss dword [edi + 0x14], xmm0
mov ecx, dword [esp + 0xac]
movss dword [edi + 0x18], xmm1
mov ax, word [esi + 0x72]
mov word [edi + 0x24], ax
mov eax, dword [esi + 0x24]
inc word [esi + 0x72]
inc eax
mov edx, dword [ebp + 0x3f08]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
inc eax
mov dword [esp + 0x34], eax
test cl, 1
je 0x45f9e1
test byte [edi + 4], 1
mov byte [esp + 0x14], 1
je 0x45f9e6
mov byte [esp + 0x14], 0
mov eax, ecx
mov dword [edi + 8], edx
shr eax, 0x15
and eax, 0xffffff01
mov dword [edi + 4], ecx
cmp dword [esp + 0xb0], 0
mov dword [esp + 0x20], eax
jne 0x45fa5a
mov ecx, dword [esi + 0x8c]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xa4]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x28], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x45fa26
sub edx, dword [esp + 0x28]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x8c]
call fcn.0044ebe0
movss xmm6, dword [0x469630]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
test al, al
jne 0x45fa90
cmp dword [esp + 0x34], edx
jge 0x45fa81
test byte [esi + 0xc], 2
je 0x45fa81
cmp dword [esi + 0x18], 0
jne 0x45fa81
cmp dword [esp + 0x24], edx
jge 0x45fa7c
cmp dword [esi + 0x14], 0
jne 0x45fa81
mov eax, dword [edi]
mov dword [esi + 0x18], eax
test cl, 2
je 0x45fa90
cmp dword [esi + 0x14], ebx
je 0x45fa90
mov eax, dword [edi]
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], ebx
lea eax, [esi + 0x14]
sete byte [esp + 0x1c]
jne 0x45faa3
mov byte [esi + 0x70], 1
jmp 0x45facb
cmp dword [esi + 0x14], 0
jne 0x45facb
lea eax, [esi + 0x14]
cmp dword [esp + 0x24], edx
jge 0x45facb
cmp dword [esi], 1
lea eax, [esi + 0x14]
jne 0x45facb
test byte [esi + 0xc], 2
lea eax, [esi + 0x14]
jne 0x45facb
mov byte [esp + 0x1c], 1
lea eax, [esi + 0x14]
cmp dword [esp + 0x34], edx
jge 0x45fb12
cmp dword [esp + 0x24], edx
jge 0x45fade
cmp byte [esp + 0x13], 0
je 0x45fb12
push 8
push 0
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.00440910
add esp, 0x10
cmp byte [esp + 0x20], 0
jne 0x45f795
mov al, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
cmp dword [eax], ebx
jne 0x45fb1f
mov eax, dword [ebp + 0x3f08]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x28]
mov edx, dword [edi + 4]
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [eax + 0xf8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0xfc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x14]
and edx, 0xc0
jne 0x45fb6b
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
mov esi, 4
xorps xmm2, xmm2
addss xmm1, dword [ecx]
movss xmm3, dword [ecx + esi]
mov esi, dword [esp + 0xa0]
addss xmm3, xmm2
movss dword [eax + 0xf8], xmm1
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax + 0xfc], xmm3
movss xmm4, dword [esp + 0x54]
movss dword [esp + 0x38], xmm1
addss xmm4, xmm3
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm4
test edx, edx
jne 0x45fc30
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm1
ja 0x45fbd4
comiss xmm2, dword [esi + 0x5c]
jbe 0x45fc30
movss xmm0, dword [esi + 0x5c]
maxss xmm1, xmm5
subss xmm3, xmm6
mov byte [esp + 0x13], 1
push 1
lea eax, [esp + 0x54]
movss dword [esp + 0x54], xmm0
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x5c], xmm4
push eax
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm3
call fcn.004467e0
movss xmm4, dword [esp + 0x50]
add esp, 0xc
movss xmm2, dword [esp + 0x40]
movss xmm3, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
jmp 0x45fc35
mov byte [esp + 0x13], 0
movss xmm0, dword [eax + 0x110]
subss xmm2, xmm1
movss dword [esp + 0x48], xmm0
subss xmm4, xmm3
movss xmm0, dword [eax + 0x114]
lea eax, [esp + 0x60]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [ebp + 0x38e8]
push ecx
movss dword [esp], xmm0
push eax
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm4
call fcn.00440e20
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x50]
push 0
push 0
movss dword [eax + 0x110], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [eax + 0x114], xmm0
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.00440910
add esp, 0x18
test al, al
jne 0x45fced
cmp byte [esp + 0x13], al
je 0x45fcbe
call fcn.00446580
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x24]
pop edi
pop esi
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x20]
pop ebp
movss dword [eax + 0xfc], xmm0
mov al, byte [esp + 0x10]
pop ebx
add esp, 0x8c
ret
mov eax, dword [esp + 0x20]
mov edx, 0x1000
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [ebp + 0x4c30], 0
cmove eax, edx
or ecx, eax
lea eax, [esp + 0x15]
push ecx
push eax
lea eax, [esp + 0x1e]
push eax
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004569e0
add esp, 0x14
mov byte [esp + 0x17], al
test al, al
je 0x45fd3b
cmp byte [esp + 0x20], 0
jne 0x45fd3b
mov ecx, dword [edi]
mov dword [esi + 0x18], ecx
cmp byte [esp + 0x15], 0
je 0x45fdba
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x2c]
jl 0x45fdba
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.00440650
add esp, 8
test al, al
je 0x45fdba
cmp byte [ebp + 0x4c30], 0
jne 0x45fdba
test byte [esi + 0xc], 1
je 0x45fdba
movss xmm1, dword [ebp + 0xb0]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x45fd90
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [ebp + 0xe00]
ja 0x45fda4
comiss xmm1, xmm2
jbe 0x45fdba
movss xmm0, dword [ebp + 0xe00]
comiss xmm0, dword [esp + 0x40]
jbe 0x45fdba
push dword [ebp + 0xe04]
push dword [ebp + 0xe00]
push edi
push esi
call fcn.0045efb0
add esp, 0x10
cmp byte [esp + 0x15], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x26c]
mov dword [esp + 0x2c], eax
jne 0x45fe01
cmp byte [esp + 0x16], 0
jne 0x45fe01
cmp byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x30]
je 0x45fdf0
movzx eax, cl
xor eax, 1
lea eax, [eax*2 + 0x23]
jmp 0x45fe06
test cl, cl
mov eax, 0x24
mov edx, 0x21
cmovne eax, edx
jmp 0x45fe06
mov eax, 0x22
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.0043dfd0
push eax
push dword [esp + 0xb8]
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x40]
call fcn.0045f320
push 0
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.00447a90
push 0x20
call fcn.0043ff60
add esp, 0x28
test al, al
je 0x45fe6f
push 0
push 1
call fcn.00440510
add esp, 8
test al, al
jne 0x45fe63
push 1
call fcn.00440750
add esp, 4
test al, al
je 0x45fe6f
cmp byte [esp + 0x20], 0
jne 0x45fe6f
mov eax, dword [edi]
mov dword [esi + 0x18], eax
test byte [esi + 0xc], 8
je 0x45fe7d
or dword [esp + 0xac], 4
cmp dword [esp + 0xa8], 0
je 0x45fe9b
push ebx
push 0
push str.CLOSE
call fcn.0043e200
add esp, 0xc
mov edx, eax
jmp 0x45fe9d
xor edx, edx
mov ecx, dword [esp + 0xac]
mov eax, ecx
and eax, 0xfffffffe
cmp byte [esp + 0x14], 0
cmovne ecx, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push edx
push ebx
push dword [esp + 0xb8]
push dword [esi + 0x80]
push dword [esi + 0x7c]
push ecx
push eax
push dword [esp + 0x54]
call fcn.0045ffd0
add esp, 0x2c
cmp byte [esp + 0x16], 0
je 0x45ff35
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x45ff35
mov byte [eax], 0
mov eax, dword [edi + 4]
test eax, 0x200000
jne 0x45ff35
test eax, 0x101
jne 0x45ff2b
mov byte [edi + 0x28], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x45ff35
mov dword [edi + 8], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x45ff35
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x45ff35
mov dword [esi + 0x18], eax
cmp byte [esp + 0x13], 0
je 0x45ff41
call fcn.00446580
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xfc], xmm0
je 0x45ffa6
cmp dword [ebp + 0x3fc8], ebx
jne 0x45ffa6
cmp byte [esp + 0x15], 0
jne 0x45ffa6
test byte [esi + 0xc], 0x20
jne 0x45ffa6
test byte [edi + 4], 0x10
jne 0x45ffa6
mov ebx, dword [esp + 0xa4]
push ebx
push 0
push ebx
call fcn.0043d780
add esp, 8
sub eax, ebx
push eax
push str._.s
call fcn.00449f20
add esp, 0xc
cmp byte [esp + 0x20], 0
movzx eax, byte [esp + 0x1c]
movzx ecx, byte [esp + 0x17]
pop edi
pop esi
pop ebp
cmovne eax, ecx
pop ebx
add esp, 0x8c
ret