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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x5daa3b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5daa3b
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x5daa3b
mov edi, dword [ebp + 0x14]
test edi, edi
jg 0x5da721
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fild dword [ebp + 0x1c]
fstp dword [esp + 4]
fild dword [ebp + 0x18]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x5daa3d
cmp edi, 0x3ff
mov eax, dword [ebx]
jl 0x5da733
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, ebx
jmp 0x5da70c
lea ecx, [esp + 0x28]
push ecx
mov esi, edi
mov ecx, ebx
sar esi, 2
call dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
push 0xff000000
call fcn.0046f650
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
add ecx, eax
lea edx, [eax + 3]
cmp edx, ecx
jge 0x5daa37
shl esi, 0x18
lea edx, [eax + 4]
mov dword [esp + 0x20], esi
or dword [esp + 0x20], 0xffffff
lea eax, [edi + eax*2]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
jmp 0x5da789
mov edx, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
fldz
and ecx, 0x1ff
cmp edi, 0x200
jge 0x5da8d4
fstp dword [esp + 0x50]
sar edi, 1
mov eax, edi
imul eax, dword [ecx*4 + 0x6f03e0]
mov ecx, dword [esp + 0x28]
add edx, 0xfffffffc
mov dword [esp + 0x10], edx
sar eax, 0x10
add eax, dword [ebp + 0x18]
fild dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [esp + 0x18], eax
sub esp, 0x10
fstp dword [esp + 0x2c]
mov edi, esp
fld dword [esp + 0x2c]
add eax, ecx
fstp dword [esp + 0x68]
lea esi, [esp + 0x64]
fild dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
fstp dword [esp + 0x6c]
sub esp, 0x10
fild dword [esp + 0x40]
mov dword [esp + 0xfc], ecx
mov ecx, dword [ebp + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
fild dword [esp + 0x38]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [esp + 0xdc]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x5c]
mov edi, esp
fld dword [esp + 0x30]
lea esi, [esp + 0x54]
fstp dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x64]
push dword [esp + 0x20]
fldz
lea esi, [esp + 0x84]
fstp dword [esp + 0x84]
sub esp, 0x10
fld dword [esp + 0x2c]
mov edi, esp
fstp dword [esp + 0x98]
fild dword [esp + 0xec]
fstp dword [esp + 0x9c]
fld dword [esp + 0x20]
fstp dword [esp + 0xa0]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x28]
fstp dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x2c]
fstp dword [esp + 0x88]
fld dword [esp + 0x24]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x8c]
fld dword [esp + 0x20]
fstp dword [esp + 0x90]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x84]
jmp 0x5daa07
fstp dword [esp + 0xa0]
add edx, 0xfffffffc
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov eax, 0x400
sub eax, edi
sar eax, 1
imul eax, dword [ecx*4 + 0x6f03e0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0xa4]
fild dword [esp + 0x28]
fstp dword [esp + 0xa8]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
sar eax, 0x10
add eax, dword [ebp + 0x18]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
push 0xffffffffffffffff
fstp dword [esp + 0xb0]
mov dword [esp + 0x18], eax
sub esp, 0x10
mov edi, esp
fild dword [esp + 0x28]
add eax, ecx
lea esi, [esp + 0xb4]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0xa4]
fld dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xa8]
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
fild dword [esp + 0xdc]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xac]
fld dword [esp + 0x20]
fstp dword [esp + 0xb0]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10c], ecx
mov ecx, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x64]
push dword [esp + 0x20]
fldz
lea esi, [esp + 0x44]
fstp dword [esp + 0x44]
sub esp, 0x10
fld dword [esp + 0x2c]
mov edi, esp
fstp dword [esp + 0x58]
fild dword [esp + 0xfc]
fstp dword [esp + 0x5c]
fld dword [esp + 0x20]
fstp dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x24]
fstp dword [esp + 0x74]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x2c]
fstp dword [esp + 0x78]
fld dword [esp + 0x28]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x7c]
fld dword [esp + 0x20]
fstp dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x74]
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x64]
add dword [esp + 0x1c], 4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x24], 8
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ecx
jl 0x5da782
mov al, 1
jmp 0x5daa3d
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20