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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f5924
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0x5ffeec
lea ecx, [esp + 0x48]
mov dword [esp + 0xc8], edi
call fcn.005df190
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.005df190
mov eax, dword [esi + 0x40]
mov dword [esp + 0x38], edi
mov dword [esp + 0xc], eax
push 0x2f3
mov eax, dword [eax + 0x8c0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], eax
mov byte [esp + 0xcc], 2
fild qword [esp + 0x38]
fdivr qword [0x5fd8a8]
fstp qword [esp + 0x38]
call fcn.005df18a
push 0x2f4
lea ecx, [esp + 0x50]
call fcn.005df18a
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x1034]
lea ebx, [esi + 0x1034]
push ecx
push edx
call dword [0x5fca74]
add esp, 8
cmp eax, edi
jne 0x57cd90
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57ce42
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x948]
lea eax, [esi + 0x1050]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x78]
fild qword [esp + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
add eax, 4
fild qword [esp + 0x14]
add ecx, 8
dec edx
fsubr st(1)
fmul qword [esp + 0x34]
fstp qword [ecx - 8]
jne 0x57cd69
fstp st(0)
jmp 0x57ce42
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx]
push edx
push eax
call dword [0x5fca74]
add esp, 8
cmp eax, edi
jne 0x57cdf7
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57ce42
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 0x94c]
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x1064]
fild qword [esp + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
add eax, 4
fild qword [esp + 0x14]
add ecx, 8
dec edx
fsubr st(1)
fmul qword [esp + 0x34]
fstp qword [ecx - 8]
jne 0x57cdd3
fstp st(0)
jmp 0x57ce42
mov eax, dword [esi + 0xf60]
mov dword [esp + 0x20], edi
cmp eax, edi
jbe 0x57ce42
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
call fcn.005df334
call fcn.00542dc0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add esp, 4
inc eax
fstp qword [ecx]
add ecx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xf60]
cmp eax, ecx
jb 0x57ce0d
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x1038]
mov ebx, dword [0x5fca74]
push edx
push eax
call ebx
add esp, 8
cmp eax, edi
jne 0x57ceb2
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57cf60
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 0x950]
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x1078]
fild qword [esp + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
add eax, 4
fild qword [esp + 0x14]
add ecx, 8
dec edx
fsubr st(1)
fmul qword [esp + 0x34]
fstp qword [ecx - 8]
jne 0x57ce8b
fstp st(0)
jmp 0x57cf60
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x1038]
push ecx
push edx
call ebx
add esp, 8
cmp eax, edi
jne 0x57cf19
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57cf60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x954]
lea eax, [esi + 0x108c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x50]
fild qword [esp + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
add eax, 4
fild qword [esp + 0x14]
add ecx, 8
dec edx
fsubr st(1)
fmul qword [esp + 0x34]
fstp qword [ecx - 8]
jne 0x57cef5
fstp st(0)
jmp 0x57cf60
mov eax, dword [esi + 0xf60]
xor ebx, ebx
cmp eax, edi
jbe 0x57cf60
lea edx, [esp + 0x50]
mov dword [esp + 0x20], edx
push ecx
lea eax, [esi + 0x1038]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.005df334
call fcn.00542dc0
mov eax, dword [esp + 0x24]
add esp, 4
inc ebx
fstp qword [eax]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xf60]
cmp ebx, eax
jb 0x57cf2d
mov eax, dword [esi + 0x1040]
mov ecx, dword [esi + 0x1044]
mov edx, dword [esi + 0x1048]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x104c]
push edi
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xefc]
push eax
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call dword [0x5fc098]
push eax
lea ecx, [esp + 0x44]
call fcn.005df562
cmp dword [esi + 0xf60], edi
jbe 0x57d6a9
cmp edi, 4
ja case.default.0x57cfb6
jmp dword [edi*4 + 0x57d740]
mov ecx, dword [esi + 0xf80]
mov eax, dword [esi + 0xf6c]
mov ebx, dword [esi + 0xfe4]
mov edx, dword [esi + 0xff8]
mov dword [esp + 0x30], ecx
jmp 0x57d051
mov ecx, dword [esi + 0xf84]
mov eax, dword [esi + 0xf70]
mov ebx, dword [esi + 0xfe8]
mov edx, dword [esi + 0xffc]
mov dword [esp + 0x30], ecx
jmp 0x57d051
mov ecx, dword [esi + 0xf88]
mov eax, dword [esi + 0xf74]
mov ebx, dword [esi + 0xfec]
mov edx, dword [esi + 0x1000]
mov dword [esp + 0x30], ecx
jmp 0x57d051
mov ecx, dword [esi + 0xf8c]
mov eax, dword [esi + 0xf78]
mov ebx, dword [esi + 0xff0]
mov edx, dword [esi + 0x1004]
mov dword [esp + 0x30], ecx
jmp 0x57d051
mov ecx, dword [esi + 0xf90]
mov eax, dword [esi + 0xf7c]
mov ebx, dword [esi + 0xff4]
mov edx, dword [esi + 0x1008]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xe30]
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x57d37e
test eax, eax
je 0x57d37e
mov eax, dword [esi + 0xf64]
cmp dword [eax + edi*4], 1
jbe 0x57d37e
lea ecx, [esp + 0x40]
call fcn.005df54a
mov eax, dword [esi + 0xefc]
push ebx
push eax
push 0
call dword [0x5fc098]
push eax
lea ecx, [esp + 0x44]
call fcn.005df562
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.005df634
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xedc]
test eax, eax
jne 0x57d281
cmp dword [esi + 0xef8], 3
jl 0x57d281
cmp dword [0x63c130], 4
je 0x57d281
mov edx, dword [esi + 0xf64]
cmp dword [edx + edi*4], 0
jbe 0x57d104
mov eax, dword [esi + 0xf50]
sub esp, 8
mov ecx, dword [eax + edi*4]
fld qword [ecx]
fadd qword [esp + edi*8 + 0x80]
mov ecx, esi
fstp qword [esp]
call fcn.00576500
mov edx, dword [esi + 0xf50]
sub esp, 8
mov ecx, esi
mov eax, dword [edx + edi*4]
fld qword [eax]
fadd qword [esp + edi*8 + 0x80]
fstp qword [esp]
call fcn.00576500
mov ecx, dword [esi + 0xf50]
sub esp, 8
mov ebx, eax
mov edx, dword [ecx + edi*4]
mov ecx, esi
mov dword [esp + 0x18], ebx
fld qword [edx + 8]
fadd qword [esp + edi*8 + 0x80]
fstp qword [esp]
call fcn.00576500
mov dword [esp + 0xc], eax
sub eax, ebx
cdq
fld qword [esp + 0x14]
sub eax, edx
sub esp, 8
mov ebx, eax
mov eax, dword [esi + 0xf58]
sar ebx, 1
mov ecx, dword [eax + edi*4]
fadd qword [ecx]
mov ecx, esi
fstp qword [esp]
call fcn.00576a80
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
push eax
sub edx, ebx
lea eax, [esp + 0xa4]
push edx
push eax
call fcn.005df62e
mov ecx, dword [esi + 0xf64]
mov dword [esp + 0x24], 1
cmp dword [ecx + edi*4], 1
jbe 0x57d371
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edx + ebx]
push eax
mov dword [esp + 0x18], eax
call fcn.005df628
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xd6c]
cmp edx, eax
jge 0x57d371
mov eax, dword [esi + 0xf58]
mov edx, dword [esp + 0x24]
fld qword [esp + 0x14]
mov ecx, dword [eax + edi*4]
sub esp, 8
fadd qword [ecx + edx*8]
mov ecx, esi
fstp qword [esp]
call fcn.00576a80
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.005df628
mov edx, dword [esi + 0xf64]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x10], ecx
dec edx
cmp eax, edx
jae 0x57d252
mov ecx, dword [esi + 0xf50]
sub esp, 8
mov edx, dword [ecx + edi*4]
mov ecx, esi
fld qword [edx + eax*8 + 8]
fadd qword [esp + edi*8 + 0x80]
fstp qword [esp]
call fcn.00576500
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x57d262
mov eax, dword [esp + 0x2c]
add ecx, ebx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.005df628
mov ecx, dword [esi + 0xf64]
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x24], eax
cmp eax, edx
jb 0x57d1a6
jmp 0x57d371
mov edx, dword [esi + 0xf64]
cmp dword [edx + edi*4], 0
jbe 0x57d2ac
mov eax, dword [esi + 0xf50]
sub esp, 8
mov ecx, dword [eax + edi*4]
fld qword [ecx]
fadd qword [esp + edi*8 + 0x80]
mov ecx, esi
fstp qword [esp]
call fcn.00576500
mov edx, dword [esi + 0xf58]
sub esp, 8
fld qword [esp + 0x1c]
mov eax, dword [edx + edi*4]
mov ecx, esi
fadd qword [eax]
fstp qword [esp]
call fcn.00576a80
mov ecx, dword [esi + 0xf50]
push eax
sub esp, 8
mov edx, dword [ecx + edi*4]
mov ecx, esi
fld qword [edx]
fadd qword [esp + edi*8 + 0x84]
fstp qword [esp]
call fcn.00576500
push eax
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call fcn.005df62e
mov ecx, dword [esi + 0xf64]
mov ebx, 1
cmp dword [ecx + edi*4], ebx
jbe 0x57d371
mov edx, dword [esi + 0xf50]
sub esp, 8
mov ecx, esi
mov eax, dword [edx + edi*4]
fld qword [eax + ebx*8]
fadd qword [esp + edi*8 + 0x80]
fstp qword [esp]
call fcn.00576500
mov ecx, dword [esi + 0xf58]
sub esp, 8
fld qword [esp + 0x1c]
mov edx, dword [ecx + edi*4]
mov ecx, esi
mov dword [esp + 0x14], eax
fadd qword [edx + ebx*8]
fstp qword [esp]
call fcn.00576a80
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005df628
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xd6c]
cmp ecx, eax
jge 0x57d371
mov edx, dword [esi + 0xf64]
inc ebx
cmp ebx, dword [edx + edi*4]
jb 0x57d308
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.005df634
mov eax, dword [esi + 0xe34]
test eax, eax
je 0x57d69a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x57d69a
mov ecx, dword [esi + 0xf68]
cmp dword [ecx + edi*4], 1
jbe 0x57d69a
lea ecx, [esp + 0x40]
call fcn.005df54a
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0xefc]
push edx
push eax
push 0
call dword [0x5fc098]
push eax
lea ecx, [esp + 0x44]
call fcn.005df562
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.005df634
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xedc]
test eax, eax
jne 0x57d5a6
cmp dword [esi + 0xef8], 3
jl 0x57d5a6
cmp dword [0x63c130], 4
je 0x57d5a6
mov ecx, dword [esi + 0xf68]
cmp dword [ecx + edi*4], 0
jbe 0x57d432
mov edx, dword [esi + 0xf54]
sub esp, 8
mov ecx, esi
mov eax, dword [edx + edi*4]
fld qword [eax]
fadd qword [esp + edi*8 + 0x58]
fstp qword [esp]
call fcn.00576500
mov ecx, dword [esi + 0xf54]
sub esp, 8
mov edx, dword [ecx + edi*4]
mov ecx, esi
fld qword [edx]
fadd qword [esp + edi*8 + 0x58]
fstp qword [esp]
call fcn.00576500
mov ebx, eax
mov eax, dword [esi + 0xf54]
sub esp, 8
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + edi*4]
fld qword [ecx + 8]
fadd qword [esp + edi*8 + 0x58]
mov ecx, esi
fstp qword [esp]
call fcn.00576500
mov dword [esp + 0xc], eax
sub eax, ebx
cdq
fld qword [esp + 0x34]
sub eax, edx
mov edx, dword [esi + 0xf5c]
mov ebx, eax
sub esp, 8
mov eax, dword [edx + edi*4]
mov ecx, esi
sar ebx, 1
fadd qword [eax]
fstp qword [esp]
call fcn.00576d00
mov ecx, dword [esp + 0x10]
push eax
sub ecx, ebx
lea edx, [esp + 0xbc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov dword [esp + 0x38], eax
call fcn.005df62e
mov eax, dword [esi + 0xf68]
mov dword [esp + 0x24], 1
cmp dword [eax + edi*4], 1
jbe 0x57d68d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push edx
lea eax, [ecx + ebx]
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x18], eax
call fcn.005df628
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xd6c]
cmp eax, ecx
jge 0x57d68d
mov ecx, dword [esi + 0xf5c]
mov eax, dword [esp + 0x24]
fld qword [esp + 0x34]
mov edx, dword [ecx + edi*4]
sub esp, 8
mov ecx, esi
fadd qword [edx + eax*8]
fstp qword [esp]
call fcn.00576d00
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.005df628
mov edx, dword [esi + 0xf68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x10], ecx
dec edx
cmp eax, edx
jae 0x57d577
mov ecx, dword [esi + 0xf54]
sub esp, 8
mov edx, dword [ecx + edi*4]
mov ecx, esi
fld qword [edx + eax*8 + 8]
fadd qword [esp + edi*8 + 0x58]
fstp qword [esp]
call fcn.00576500
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x57d587
mov eax, dword [esp + 0x2c]
add ecx, ebx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.005df628
mov ecx, dword [esi + 0xf68]
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x24], eax
cmp eax, edx
jb 0x57d4ce
jmp 0x57d68d
mov edx, dword [esi + 0xf68]
cmp dword [edx + edi*4], 0
jbe 0x57d5ce
mov eax, dword [esi + 0xf54]
sub esp, 8
mov ecx, dword [eax + edi*4]
fld qword [ecx]
fadd qword [esp + edi*8 + 0x58]
mov ecx, esi
fstp qword [esp]
call fcn.00576500
mov edx, dword [esi + 0xf5c]
sub esp, 8
fld qword [esp + 0x3c]
mov eax, dword [edx + edi*4]
mov ecx, esi
fadd qword [eax]
fstp qword [esp]
call fcn.00576d00
mov ecx, dword [esi + 0xf54]
push eax
sub esp, 8
mov edx, dword [ecx + edi*4]
mov ecx, esi
fld qword [edx]
fadd qword [esp + edi*8 + 0x5c]
fstp qword [esp]
call fcn.00576500
push eax
lea eax, [esp + 0xb8]
push eax
mov ecx, ebx
call fcn.005df62e
mov ecx, dword [esi + 0xf68]
mov ebx, 1
cmp dword [ecx + edi*4], ebx
jbe 0x57d68d
mov edx, dword [esi + 0xf54]
sub esp, 8
mov ecx, esi
mov eax, dword [edx + edi*4]
fld qword [eax + ebx*8]
fadd qword [esp + edi*8 + 0x58]
fstp qword [esp]
call fcn.00576500
mov ecx, dword [esi + 0xf5c]
sub esp, 8
fld qword [esp + 0x3c]
mov edx, dword [ecx + edi*4]
mov ecx, esi
mov dword [esp + 0x14], eax
fadd qword [edx + ebx*8]
fstp qword [esp]
call fcn.00576d00
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005df628
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xd6c]
cmp ecx, eax
jge 0x57d68d
mov edx, dword [esi + 0xf68]
inc ebx
cmp ebx, dword [edx + edi*4]
jb 0x57d627
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.005df634
mov eax, dword [esi + 0xf60]
inc edi
cmp edi, eax
jb 0x57cfad
lea ecx, [esp + 0x40]
call fcn.005df54a
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.005df184
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.005df184
mov dword [esp + 0x40], 0x5fe928
mov dword [esp + 0xc8], 4
lea ecx, [esp + 0x40]
call fcn.005df54a
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.005df184
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.005df184
mov dword [esp + 0x40], 0x5fe928
mov dword [esp + 0xc8], 3
jmp 0x57d6e7