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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x648
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x24], esi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test edi, edi
je 0x459c29
cmp dword [edi + 0x1c], 0
je 0x459c29
xor eax, eax
cmp byte [edi + 0x2f], al
mov byte [esi + 0x54], 0
setne al
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
test eax, 0xffffffe0
jne 0x459c29
call fcn.00457ee0
cmp dword [ebp + 0x1c], 0
mov eax, dword [edi + 0x40]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x18], eax
jne 0x45964c
mov ecx, edi
call fcn.0045f810
mov dword [ebp + 0x1c], eax
cmp byte [ebp + 0x14], 0
je 0x45965d
mov ecx, edi
call fcn.0045f860
mov esi, eax
jmp 0x45965f
xor esi, esi
lea eax, [esp + 0x90]
mov ecx, edi
push eax
push dword [edi + 0x20]
call fcn.0044ea80
mov ecx, dword [esp + 0x518]
mov eax, ecx
mov dl, byte [ebp + 0x18]
and ecx, 0x20
and eax, 2
mov dword [esp + 0x2c], ecx
test dl, dl
je 0x459694
mov edx, dword [edi + 0x10]
mov dword [ebp + 0x1c], edx
mov dl, byte [ebp + 0x18]
mov edi, dword [esp + 0x24]
movss xmm1, dword [0x4dba20]
movzx edx, dl
mov dword [esp + 0x30], edx
xor edx, edx
cmp byte [ebp + 0x18], dl
movss dword [esp + 0x14], xmm1
cmove edx, esi
mov dword [edi + 0x60], 0x3f800000
mov esi, dword [edi + 0x14]
mov dword [esp + 0x28], edx
xor edx, edx
cmp byte [ebp + 0x18], dl
mov dword [edi + 0x64], 0x3f800000
cmove edx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0xc]
cmp esi, edx
jl 0x4598c3
mov ecx, dword [ebp + 0x10]
cmp dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x2c]
jl 0x4598c3
test eax, eax
je 0x45971a
mov edi, 2
cmp edx, edi
jle 0x459706
add edi, edi
cmp edi, edx
jl 0x459700
mov eax, dword [ebp + 0x10]
mov esi, 2
cmp eax, esi
jle 0x459721
add esi, esi
cmp esi, eax
jl 0x459712
jmp 0x459721
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
test ecx, ecx
je 0x45972f
cmp edi, esi
jle 0x45972d
mov esi, edi
jmp 0x45972f
mov edi, esi
movss dword [esp + 0x10], xmm1
cmp edx, edi
je 0x459751
movd xmm1, edx
movd xmm0, edi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp eax, esi
je 0x45976d
movd xmm1, eax
movd xmm0, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x10], xmm1
mov eax, dword [ebp + 8]
lea edx, [esp + 0x1c]
push 0
push edx
push dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
push dword [ebp + 0x1c]
push dword [esp + 0x40]
mov ecx, dword [eax]
push 1
push esi
push edi
push eax
call dword [ecx + 0x5c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], eax
test eax, eax
jns 0x4597cc
cmp eax, 0x8876017c
jne 0x459b74
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x1c]
push 0
push edx
push 1
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push dword [esp + 0x40]
push 1
push esi
push edi
push eax
call dword [ecx + 0x5c]
test eax, eax
js 0x459b74
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x28], 0
je 0x459828
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x20]
push 0
push edx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push 0
push 1
push esi
push edi
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x459828
cmp eax, 0x8876017c
jne 0x459b74
mov eax, dword [ebp + 8]
lea edx, [esp + 0x20]
push 0
push edx
push 1
push dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
push 0
push 1
push esi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x5c]
test eax, eax
js 0x459b74
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
movss xmm0, dword [esp + 0x14]
lea ecx, [esi + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movss dword [esp + 0x6c], xmm0
cmp dword [ecx + 8], eax
je 0x459894
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
add dword [ecx + 4], 0x20
jmp 0x45989f
lea edx, [esp + 0x50]
push edx
push eax
call fcn.0045cbd0
movss xmm0, dword [esp + 0x14]
mov ecx, 1
movss dword [esi + 0x60], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esi + 0x64], xmm0
mov dword [esp + 0x14], ecx
jmp 0x459bcb
test eax, eax
je 0x459906
mov eax, 2
cmp esi, eax
jl 0x4598d6
add eax, eax
cmp eax, esi
jle 0x4598d0
mov ecx, dword [edi + 0x18]
cdq
sub eax, edx
mov esi, eax
mov eax, 2
sar esi, 1
cmp ecx, eax
jl 0x4598f6
nop dword [eax]
add eax, eax
cmp eax, ecx
jle 0x4598f0
mov ecx, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
mov edi, eax
sar edi, 1
jmp 0x459909
mov edi, dword [edi + 0x18]
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x45991f
cmp esi, edi
jle 0x45991d
mov edi, esi
mov dword [esp + 0xc], edi
jmp 0x45991f
mov esi, edi
lea eax, [edx - 1]
add eax, esi
cdq
idiv esi
mov ecx, eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [esp + 0x40], ecx
add eax, edi
cdq
idiv edi
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
test eax, eax
jle 0x459bc7
mov edx, dword [esp + 0xc]
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], eax
nop dword [eax]
cmp edi, dword [esp + 0x78]
jne 0x45998a
movd xmm1, dword [esp + 0x2c]
movd xmm0, edx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [0x4dba20]
jmp 0x459992
mov eax, edx
movss dword [esp + 0x4c], xmm1
mov edx, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x459ba1
mov edi, dword [ebp + 0xc]
dec ecx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp eax, dword [esp + 0x7c]
jne 0x4599e2
movd xmm1, edi
mov eax, edi
movd xmm0, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x4599e4
mov eax, esi
push 0
add eax, ecx
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
push edx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
push dword [ebp + 0x1c]
mov eax, dword [eax + 0x1c]
push dword [esp + 0x40]
mov dword [esp + 0x30], 0
push 1
push edx
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push esi
push eax
movss dword [esp + 0x6c], xmm1
call dword [ecx + 0x5c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], eax
test eax, eax
jns 0x459a70
cmp eax, 0x8876017c
jne 0x459b60
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x1c]
push 0
push edx
push 1
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push dword [esp + 0x40]
push 1
push dword [esp + 0x24]
push esi
push eax
call dword [ecx + 0x5c]
test eax, eax
js 0x459b60
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x28], 0
je 0x459ad2
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x20]
push 0
push edx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push 0
push 1
push dword [esp + 0x24]
push esi
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x459ad2
cmp eax, 0x8876017c
jne 0x459b60
mov eax, dword [ebp + 8]
lea edx, [esp + 0x20]
push 0
push edx
push 1
push dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
push 0
push 1
push dword [esp + 0x24]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x5c]
test eax, eax
js 0x459b60
movups xmm0, xmmword [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ecx, 4
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x50], eax
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x6c], xmm0
cmp dword [ecx + 8], eax
je 0x459b2d
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
add dword [ecx + 4], 0x20
jmp 0x459b38
lea edx, [esp + 0x50]
push edx
push eax
call fcn.0045cbd0
mov eax, dword [esp + 0x3c]
sub edi, esi
mov ecx, dword [esp + 0x38]
inc eax
add ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
cmp eax, dword [esp + 0x40]
jge 0x459b95
movss xmm1, dword [0x4dba20]
jmp 0x4599c6
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x3c], ecx
jge 0x459b99
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jge 0x459bc7
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00457ee0
mov al, byte [esp + 0x1b]
mov byte [esi + 0x80], al
mov byte [esi + 0x6c], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
inc edi
add dword [esp + 0x44], edx
sub eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x14]
jge 0x459bc7
movss xmm1, dword [0x4dba20]
jmp 0x459960
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x88], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x29c], al
mov al, byte [ebp + 0x18]
mov byte [esi + 0x29d], al
mov al, 1
mov dword [esi + 0x1c], edx
mov dword [esi + 0x28], ecx
mov byte [esi + 0x81], 0
mov dword [esi + 0x84], edx
mov byte [esi + 0x80], al
mov byte [esi + 0x6c], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x18