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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
jbe 0x573755
mov esi, dword [ebp + 8]
mov ecx, esi
add esi, 0x10
mov ebx, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
mov edi, edi
mov eax, ecx
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
fld qword [esp + 0x38]
mov eax, dword [ebp + 0xc]
fchs
cmp ebx, eax
fstp qword [esp + 0x38]
mov edx, ebx
jae 0x573694
fld qword [esp + 0x30]
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x70]
mov dword [esp + 0x20], eax
fld qword [esp + 0x38]
fstp qword [esp + 0x78]
lea esp, [esp]
mov eax, dword [esp + 0x20]
fld qword [eax]
fld qword [eax + 8]
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x5735fd
fld qword [esp + 0x78]
fld qword [esp + 0x68]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x57360f
add dword [esp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jb 0x5735d0
jmp 0x573694
cmp ebx, edx
je 0x573679
mov eax, esi
mov edi, dword [eax]
mov dword [esp + 0x40], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, edx
shl eax, 4
add eax, edi
mov edi, eax
mov ebx, dword [edi]
mov dword [esi], ebx
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
mov ebx, dword [edi + 8]
mov dword [esi + 8], ebx
mov edi, dword [edi + 0xc]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0xc], edi
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
mov dword [eax], esi
mov esi, dword [esp + 0x44]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x24]
inc dword [esp + 0xc]
mov eax, dword [esp + 0x10]
inc edi
inc ebx
add eax, 0x10
add esi, 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
add ecx, 0x10
mov eax, dword [ebp + 0xc]
cmp edx, eax
jne 0x57372b
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x57372b
inc edx
sub eax, edx
cmp eax, edi
mov dword [esp + 0x14], edx
jbe 0x57372b
mov edx, dword [ebp + 8]
shl eax, 4
add eax, edx
mov edx, eax
mov ebx, dword [edx]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x54], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebx
mov edx, ecx
mov ebx, dword [edx]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov edx, dword [edx + 0xc]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x50]
mov eax, ecx
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x10]
dec edi
sub edx, 0x10
dec ebx
sub esi, 0x10
sub ecx, 0x10
test edi, edi
mov dword [esp + 0x10], edx
je 0x573755
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
inc edi
inc ebx
add edx, 0x10
add esi, 0x10
add ecx, 0x10
cmp edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], esi
jb 0x573580
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, 4
jl 0x57397d
mov ecx, dword [ebp + 8]
add eax, 0xfffffffc
lea esi, [ecx + 0x28]
shr eax, 2
add ecx, 0x20
inc eax
mov dword [esp + 0x24], eax
mov edx, 3
shl eax, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x10]
fld qword [eax - 0x20]
fcomp qword [0x5d8c90]
fnstsw ax
test ah, 5
jp 0x573800
lea eax, [edx - 3]
lea esi, [edx - 2]
cmp eax, esi
je 0x573800
lea eax, [ecx - 0x20]
mov edx, eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x34], edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
lea edx, [ecx - 0x10]
mov edi, edx
mov ebx, dword [edi]
mov dword [eax], ebx
mov ebx, dword [edi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov edi, dword [edi + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x34]
mov dword [edx], esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
fld qword [eax]
fcomp qword [0x5d8c90]
fnstsw ax
test ah, 5
jp 0x57386b
lea eax, [edx - 1]
cmp eax, edx
je 0x57386b
mov eax, ecx
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x10]
mov esi, eax
mov ebx, dword [esi]
mov edi, ecx
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edi + 0xc], esi
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
fld qword [eax + 0x20]
fcomp qword [0x5d8c90]
fnstsw ax
test ah, 5
jp 0x5738db
lea eax, [edx + 2]
lea esi, [edx + 1]
cmp esi, eax
je 0x5738db
lea eax, [ecx + 0x20]
mov edx, eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x34], edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
lea edx, [ecx + 0x30]
mov edi, edx
mov ebx, dword [edi]
mov dword [eax], ebx
mov ebx, dword [edi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov edi, dword [edi + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x34]
mov dword [edx], esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
fld qword [eax + 0x40]
fcomp qword [0x5d8c90]
fnstsw ax
test ah, 5
jp 0x57394b
lea eax, [edx + 4]
lea esi, [edx + 3]
cmp esi, eax
je 0x57394b
lea eax, [ecx + 0x40]
mov edx, eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x34], edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
lea edx, [ecx + 0x50]
mov edi, edx
mov ebx, dword [edi]
mov dword [eax], ebx
mov ebx, dword [edi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov edi, dword [edi + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x34]
mov dword [edx], esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add ebx, 0x80
add edx, 8
add ecx, 0x80
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jne 0x573790
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
cmp edi, eax
jae 0x573a34
mov edx, dword [ebp + 8]
mov ecx, edi
shl ecx, 5
add ecx, edx
lea edx, [ecx + 8]
mov dword [esp + 0x20], edx
lea esi, [edi + edi]
mov edx, eax
mov dword [esp + 0x24], esi
sub edx, edi
mov eax, dword [esp + 0x20]
fld qword [eax]
fcomp qword [0x5d8c90]
fnstsw ax
test ah, 5
jp 0x573a14
lea eax, [esi + 1]
cmp esi, eax
je 0x573a14
mov eax, ecx
mov esi, dword [eax]
mov dword [esp + 0x30], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x10]
mov esi, eax
mov ebx, dword [esi]
mov edi, ecx
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x30]
mov dword [eax], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, 0x20
add esi, 2
add ecx, 0x20
dec edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jne 0x5739a1
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x573caf
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov ebx, 1
lea esi, [ecx + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], edx
mov eax, ecx
fld qword [eax]
fstp qword [esp + 0x60]
fld qword [eax + 8]
fstp qword [esp + 0x68]
fld qword [0x5d8c68]
fld qword [esp + 0x68]
fabs
fcomp qword [0x5ef750]
fnstsw ax
test ah, 0x41
jne 0x573ad5
fstp st(0)
sub esp, 0x10
fld qword [ecx + 8]
fld qword [ecx]
fstp qword [esp + 8]
fstp qword [esp]
call dword [0x5d2600]
fld st(0)
add esp, 0x10
fmulp st(1)
fld qword [0x5d6138]
fadd st(1)
fld st(0)
fmul st(1)
fld qword [esp + 0x60]
fmul qword [esp + 0x60]
fmul qword [0x5d92d8]
fsubp st(1)
fsqrt
fld qword [0x5d6138]
fsub st(3)
fadd st(0), st(0)
fdivp st(1)
fstp st(2)
fstp st(0)
mov ecx, dword [esp + 0xc]
fstp qword [esp + 0x30]
cmp dword [esp + 0x18], ecx
jae 0x573c77
mov eax, dword [esp + 0xc]
lea edx, [ebx + 1]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
mov ecx, esi
sub eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov eax, ecx
fld qword [eax]
fstp qword [esp + 0x70]
fld qword [eax + 8]
fstp qword [esp + 0x78]
fld qword [0x5d8c68]
fld qword [esp + 0x78]
fabs
fcomp qword [0x5ef750]
fnstsw ax
test ah, 0x41
jne 0x573b76
fstp st(0)
sub esp, 0x10
fld qword [ecx + 8]
fld qword [ecx]
fstp qword [esp + 8]
fstp qword [esp]
call dword [0x5d2600]
fld st(0)
add esp, 0x10
fmulp st(1)
fld qword [0x5d6138]
fadd st(1)
fld st(0)
fmul st(1)
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fmul qword [0x5d92d8]
fsubp st(1)
fsqrt
fld qword [0x5d6138]
fsub st(3)
fadd st(0), st(0)
fdivp st(1)
fstp st(2)
fstp st(0)
fcom qword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x573c49
mov eax, dword [esp + 0x1c]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x573be0
mov edx, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
mov ecx, edi
mov ebx, dword [ecx]
mov edx, esi
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov edx, edi
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, ebx
je 0x573c43
lea eax, [esi + 0x10]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x50], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
lea ecx, [edi + 0x10]
mov edx, ecx
mov ebx, dword [edx]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 8], ebx
mov edx, dword [edx + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
fstp qword [esp + 0x30]
jmp 0x573c4b
fstp st(0)
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add ecx, 0x20
add esi, 0x20
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jne 0x573b02
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add esi, 0x20
add ecx, 0x10
inc edx
add ebx, 2
add edi, 0x20
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
jne 0x573a61
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8