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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f91a4
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], 0x603f0c
lea ecx, [esp + 0x48]
mov dword [esp + 0xc8], edi
call fcn.005e2960
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.005e2960
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 [0x6018a8]
fstp qword [esp + 0x38]
call fcn.005e295a
push 0x2f4
lea ecx, [esp + 0x50]
call fcn.005e295a
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x1034]
lea ebx, [esi + 0x1034]
push ecx
push edx
call dword [0x600a74]
add esp, 8
cmp eax, edi
jne 0x57df20
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57dfd2
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x968]
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 0x57def9
fstp st(0)
jmp 0x57dfd2
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx]
push edx
push eax
call dword [0x600a74]
add esp, 8
cmp eax, edi
jne 0x57df87
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57dfd2
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 0x96c]
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 0x57df63
fstp st(0)
jmp 0x57dfd2
mov eax, dword [esi + 0xf60]
mov dword [esp + 0x20], edi
cmp eax, edi
jbe 0x57dfd2
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
call fcn.005e2b04
call fcn.00543c10
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 0x57df9d
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x1038]
mov ebx, dword [0x600a74]
push edx
push eax
call ebx
add esp, 8
cmp eax, edi
jne 0x57e042
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57e0f0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 0x970]
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 0x57e01b
fstp st(0)
jmp 0x57e0f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x1038]
push ecx
push edx
call ebx
add esp, 8
cmp eax, edi
jne 0x57e0a9
mov edx, dword [esi + 0xf60]
cmp edx, edi
jbe 0x57e0f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x974]
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 0x57e085
fstp st(0)
jmp 0x57e0f0
mov eax, dword [esi + 0xf60]
xor ebx, ebx
cmp eax, edi
jbe 0x57e0f0
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.005e2b04
call fcn.00543c10
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 0x57e0bd
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 [0x600098]
push eax
lea ecx, [esp + 0x44]
call fcn.005e2d2c
cmp dword [esi + 0xf60], edi
jbe 0x57e839
cmp edi, 4
ja case.default.0x57e146
jmp dword [edi*4 + 0x57e8d0]
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 0x57e1e1
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 0x57e1e1
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 0x57e1e1
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 0x57e1e1
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 0x57e50e
test eax, eax
je 0x57e50e
mov eax, dword [esi + 0xf64]
cmp dword [eax + edi*4], 1
jbe 0x57e50e
lea ecx, [esp + 0x40]
call fcn.005e2d14
mov eax, dword [esi + 0xefc]
push ebx
push eax
push 0
call dword [0x600098]
push eax
lea ecx, [esp + 0x44]
call fcn.005e2d2c
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.005e2e04
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xedc]
test eax, eax
jne 0x57e411
cmp dword [esi + 0xef8], 3
jl 0x57e411
cmp dword [0x6405c0], 4
je 0x57e411
mov edx, dword [esi + 0xf64]
cmp dword [edx + edi*4], 0
jbe 0x57e294
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.005776e0
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.005776e0
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.005776e0
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.00577c60
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.005e2dfe
mov ecx, dword [esi + 0xf64]
mov dword [esp + 0x24], 1
cmp dword [ecx + edi*4], 1
jbe 0x57e501
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.005e2df8
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0xd6c]
cmp edx, eax
jge 0x57e501
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.00577c60
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.005e2df8
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 0x57e3e2
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.005776e0
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x57e3f2
mov eax, dword [esp + 0x2c]
add ecx, ebx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.005e2df8
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 0x57e336
jmp 0x57e501
mov edx, dword [esi + 0xf64]
cmp dword [edx + edi*4], 0
jbe 0x57e43c
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.005776e0
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.00577c60
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.005776e0
push eax
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call fcn.005e2dfe
mov ecx, dword [esi + 0xf64]
mov ebx, 1
cmp dword [ecx + edi*4], ebx
jbe 0x57e501
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.005776e0
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.00577c60
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005e2df8
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xd6c]
cmp ecx, eax
jge 0x57e501
mov edx, dword [esi + 0xf64]
inc ebx
cmp ebx, dword [edx + edi*4]
jb 0x57e498
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.005e2e04
mov eax, dword [esi + 0xe34]
test eax, eax
je 0x57e82a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x57e82a
mov ecx, dword [esi + 0xf68]
cmp dword [ecx + edi*4], 1
jbe 0x57e82a
lea ecx, [esp + 0x40]
call fcn.005e2d14
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0xefc]
push edx
push eax
push 0
call dword [0x600098]
push eax
lea ecx, [esp + 0x44]
call fcn.005e2d2c
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.005e2e04
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xedc]
test eax, eax
jne 0x57e736
cmp dword [esi + 0xef8], 3
jl 0x57e736
cmp dword [0x6405c0], 4
je 0x57e736
mov ecx, dword [esi + 0xf68]
cmp dword [ecx + edi*4], 0
jbe 0x57e5c2
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.005776e0
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.005776e0
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.005776e0
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.00577ee0
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.005e2dfe
mov eax, dword [esi + 0xf68]
mov dword [esp + 0x24], 1
cmp dword [eax + edi*4], 1
jbe 0x57e81d
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.005e2df8
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xd6c]
cmp eax, ecx
jge 0x57e81d
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.00577ee0
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.005e2df8
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 0x57e707
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.005776e0
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x57e717
mov eax, dword [esp + 0x2c]
add ecx, ebx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.005e2df8
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 0x57e65e
jmp 0x57e81d
mov edx, dword [esi + 0xf68]
cmp dword [edx + edi*4], 0
jbe 0x57e75e
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.005776e0
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.00577ee0
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.005776e0
push eax
lea eax, [esp + 0xb8]
push eax
mov ecx, ebx
call fcn.005e2dfe
mov ecx, dword [esi + 0xf68]
mov ebx, 1
cmp dword [ecx + edi*4], ebx
jbe 0x57e81d
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.005776e0
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.00577ee0
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005e2df8
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xd6c]
cmp ecx, eax
jge 0x57e81d
mov edx, dword [esi + 0xf68]
inc ebx
cmp ebx, dword [edx + edi*4]
jb 0x57e7b7
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.005e2e04
mov eax, dword [esi + 0xf60]
inc edi
cmp edi, eax
jb 0x57e13d
lea ecx, [esp + 0x40]
call fcn.005e2d14
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.005e2954
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.005e2954
mov dword [esp + 0x40], 0x602928
mov dword [esp + 0xc8], 4
lea ecx, [esp + 0x40]
call fcn.005e2d14
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.005e2954
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.005e2954
mov dword [esp + 0x40], 0x602928
mov dword [esp + 0xc8], 3
jmp 0x57e877