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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57ad67
add esp, 0xffffff80
mov edx, dword [esp + 0x84]
inc dword [edx + 0x28]
mov ebx, dword [edx + 0x30]
test ebx, ebx
jle 0x57a80b
inc dword [edx + 0x2c]
mov ebx, dword [edx + 0x2c]
cmp ebx, 0x64
jle 0x57a886
mov ebp, dword [edx + 0x28]
cmp ebp, 0x3e8
jle 0x57a886
cmp ebp, 0x61a80
jg 0x57a830
movsd xmm0, qword [0x659628]
jmp 0x57a870
cmp ebp, 0x3d0900
jl 0x57a842
movsd xmm0, qword [0x659618]
jmp 0x57a870
lea esi, [ebp - 0x61a80]
cvtsi2sd xmm0, esi
movsd xmm1, qword [0x659630]
divsd xmm0, xmm1
movsd xmm1, qword [0x659620]
mulsd xmm1, xmm0
movsd xmm0, qword [0x659628]
subsd xmm0, xmm1
cvtsi2sd xmm1, ebx
cvtsi2sd xmm2, ebp
divsd xmm1, xmm2
ucomisd xmm1, xmm0
ja 0x57acbd
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x57a8a8
test ebx, 0x200
jne 0x57a8a8
lea eax, [0x65b040]
mov ecx, dword [esp + 0x8c]
jmp 0x57a8dc
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x94]
cmp dword [0x79da30], eax
jne 0x57a994
mov edx, dword [0x79da34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004040d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x57a986
lea eax, [0x5fa4c0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x57a93f
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x57a939
or ecx, 0x80
mov edx, dword [esp + 0x6c]
jmp 0x57a945
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0048c8a0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
call fcn.0048e460
mov byte [esp + 0x98], 1
sub esp, 0xffffff80
ret
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp]
cmp esi, 1
jne 0x57aa12
mov esi, dword [ebp + 0x28]
cmp esi, 1
jne 0x57aa04
mov edi, dword [0x7c3fa0]
test edi, edi
je 0x57a9c1
call fcn.00468410
mov dword [edi], ebp
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ebp
mov edi, dword [ebp + 0x28]
test edi, edi
jbe 0x57acb4
mov dword [esp + 0x24], esi
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0057a7e0
mov eax, dword [esp + 0x24]
cmp eax, 1
sete al
mov byte [esp + 0x98], al
sub esp, 0xffffff80
ret
cmp esi, 0x10
je 0x57abba
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0057a330
movzx eax, byte [esp + 0x20]
test al, al
jne 0x57abaa
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
cmp ecx, 2
ja 0x57ab47
test ecx, ecx
jne 0x57ab18
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x57abf0
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x57abf0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0057af50
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x98], al
sub esp, 0xffffff80
ret
cmp ecx, 2
jne 0x57abf0
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0057ce20
movzx eax, byte [esp + 0x14]
jmp 0x57ab9f
cmp ecx, 4
je 0x57ab7b
cmp ecx, 8
jne 0x57abf0
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0057b020
movzx eax, byte [esp + 0x14]
jmp 0x57ab9f
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0057d3d0
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x98], al
sub esp, 0xffffff80
ret
movzx eax, byte [esp + 0x21]
mov byte [esp + 0x98], al
sub esp, 0xffffff80
ret
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0057ad80
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x98], al
sub esp, 0xffffff80
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00409b50
mov eax, dword [esp + 4]
lea ecx, [0x5de400]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
lea eax, [0x60ac21]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x61837f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x27
call fcn.00451520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x5e6180]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.00409a20
mov eax, dword [esp + 8]
lea ecx, [0x5e6180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
xor eax, eax
mov ecx, eax
call fcn.00468460
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
lea eax, [0x60ac21]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x61734e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x24
call fcn.00451520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x5e6180]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.00409a20
mov eax, dword [esp + 8]
lea ecx, [0x5e6180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
nop
call fcn.00467000
jmp fcn.0057a7e0