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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, 4
mov dword [esp + 0x14], edi
mov edx, dword [edi + 0x68]
mov ebx, dword [edi + 4]
mov dword [esp + 0x4c], ebx
test edx, edx
jne 0x5cb2a4
xor ecx, ecx
mov eax, ebx
mul ebp
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
mov edx, eax
add esp, 4
mov dword [edi + 0x68], edx
mov ecx, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
shl ecx, 2
sub edx, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], esi
test esi, esi
jle 0x5cb8d5
fld1
fld qword [0x65ba48]
fldz
xor eax, eax
lea ebp, [esi - 1]
cmp esi, dword [edi + 0x3c]
mov dword [esp + 0x40], ebp
setne al
mov dword [esp + 0x44], eax
mov ecx, ebp
shl eax, cl
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x40]
sub eax, dword [esp + 0x74]
lea ecx, [eax - 1]
dec eax
mov dword [esp + 0x24], ecx
add ebx, eax
mov ecx, esi
sar dword [esp + 0x24], cl
inc dword [esp + 0x24]
sar ebx, cl
mov ecx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x8c], ebx
mov eax, ecx
mov dword [esp + 0x34], eax
cmp ecx, ebx
jge 0x5cb8a5
jmp 0x5cb327
fxch st(2)
mov ecx, esi
mov ebx, eax
shl ebx, cl
fxch st(2)
add ebx, dword [esp + 0x74]
mov ecx, ebp
mov dword [esp + 0x1c], ebx
mov esi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], ecx
lea eax, [ebx*4]
mov dword [esp + 0x50], eax
fstp dword [eax + edx]
test ecx, ecx
js 0x5cb719
mov ebp, 1
rol ebp, cl
mov dword [esp + 0x28], ebp
jmp 0x5cb36a
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x40]
mov ebx, dword [esp + 0x4c]
dec ebx
lea edi, [eax - 1]
add eax, ebx
mov ebx, dword [esp + 0x1c]
sar edi, cl
inc edi
sar eax, cl
shl edi, cl
shl eax, cl
mov dword [esp + 0x78], edi
mov dword [esp + 0x54], eax
cmp edi, eax
jne 0x5cb3b6
cmp dword [esp + 0x44], 1
jne 0x5cb702
cmp ecx, dword [esp + 0x40]
jne 0x5cb702
mov eax, dword [esp + 0x50]
fld dword [eax + edx]
fmul st(1)
fstp dword [eax + edx]
jmp 0x5cb702
mov ecx, ebp
fstp st(0)
and ecx, edi
lea eax, [ecx + edi]
mov dword [esp + 0x90], eax
mov eax, ebp
sub eax, ecx
mov ecx, ebp
add eax, edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x94], eax
and ecx, edi
mov eax, edi
sub eax, ecx
sub ecx, ebp
mov dword [esp + 0x98], eax
add ecx, edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], ecx
cmp dword [esp + 0x30], eax
jne 0x5cb436
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
fld dword [eax + ecx*4 + 0x60]
mov eax, dword [esp + 0x50]
shl ecx, 2
fmul dword [eax + edx]
mov dword [esp + ecx + 0x64], esi
mov dword [esp + ecx + 0x6c], esi
fstp dword [eax + edx]
lea eax, [esp + 0x68]
sub eax, ecx
mov dword [eax], 0
lea eax, [esp + 0x70]
sub eax, ecx
mov dword [eax], 0xffffffff
jmp 0x5cb485
mov eax, esi
cmp esi, ebx
jg 0x5cb456
mov edi, dword [esp + 0x14]
lea ecx, [ebp*2]
fld dword [edx + eax*4]
fmul dword [edi + 0x60]
fstp dword [edx + eax*4]
add eax, ecx
cmp eax, ebx
jle 0x5cb447
lea eax, [esi + ebp]
cmp eax, ebx
jge 0x5cb46d
lea ecx, [ebp*2]
fst dword [edx + eax*4]
add eax, ecx
cmp eax, ebx
jl 0x5cb464
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0xffffffff
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x38]
mov edi, dword [ecx + 0x4c]
mov dword [esp + 0x38], edi
test esi, esi
jle 0x5cb4b1
mov ecx, dword [ecx + 0x48]
mov edx, esi
mov eax, dword [ecx]
lea ecx, [ecx + 0x10]
lea edi, [edi + eax*4]
sub edx, 1
jne 0x5cb49c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], edi
lea edi, [esi - 1]
mov dword [esp + 0x84], edi
test edi, edi
js 0x5cb6f4
mov eax, edi
shl eax, 4
mov dword [esp + 0x88], eax
jmp 0x5cb4d5
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x48]
mov ecx, dword [edx + eax]
add edx, eax
mov ebx, dword [esp + 0x38]
mov eax, ecx
neg eax
lea ebx, [ebx + eax*4]
lea eax, [ecx - 1]
mov dword [esp + 0x38], ebx
mov ebx, dword [edx + 4]
add eax, ebx
mov ecx, dword [esp + 0x30]
inc ecx
shl ebx, cl
shl eax, cl
and edi, 1
je 0x5cb508
add ebx, ebp
add eax, ebp
jmp 0x5cb50c
sub ebx, ebp
sub eax, ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + edi*4 + 0x64]
mov esi, dword [esp + edi*4 + 0x6c]
mov dword [esp + 0x3c], eax
mov cl, byte [ecx + 0x45]
mov byte [esp + 0x13], cl
mov ecx, 1
sub ecx, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], esi
cmp edx, esi
jg 0x5cb6c8
mov ebp, dword [esp + 0x5c]
mov esi, edx
mov edx, dword [esp + ecx*4 + 0x90]
sub esi, eax
sub ebp, ebx
mov dword [esp + 0x80], ebp
cmp esi, edx
jl 0x5cb56a
mov eax, dword [esp + 0x78]
add eax, eax
sub eax, edx
sub eax, ebx
cmp eax, dword [esp + 0x7c]
jl 0x5cb56c
mov esi, edx
mov edx, dword [esp + ecx*4 + 0x98]
cmp ebp, edx
jg 0x5cb589
mov eax, dword [esp + 0x54]
add eax, eax
sub eax, edx
sub eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x5c]
jg 0x5cb592
mov ebp, edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + ecx*4 + 0x6c]
mov eax, dword [esp + ecx*4 + 0x64]
cmp eax, edx
jle 0x5cb5a4
mov dword [esp + ecx*4 + 0x64], esi
jmp 0x5cb5b2
cmp esi, eax
jge 0x5cb5ae
mov dword [esp + ecx*4 + 0x64], esi
jmp 0x5cb5b6
cmp ebp, edx
jle 0x5cb5b6
mov dword [esp + ecx*4 + 0x6c], ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp edx, esi
jle 0x5cb5de
sub edx, ecx
lea ebx, [edx*4]
mov dword [esp + 0x50], ebx
fst dword [ebx + eax]
cmp edx, esi
jg 0x5cb5c6
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jge 0x5cb5f3
add ebx, ecx
fst dword [eax + ebx*4]
cmp ebx, ebp
jl 0x5cb5e6
mov dword [esp + 0x1c], ebx
cmp byte [esp + 0x13], 0
je 0x5cb604
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
jmp 0x5cb612
mov edx, dword [esp + edi*4 + 0x90]
mov eax, dword [esp + edi*4 + 0x98]
mov dword [esp + 0x2c], eax
cmp esi, ebp
jg 0x5cb8dd
fstp st(0)
add ecx, ecx
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
cmp edi, eax
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
jg 0x5cb6b8
mov ebp, dword [esp + 0x28]
mov edi, edi
lea ecx, [edi + esi]
cmp ecx, edx
jl 0x5cb64b
cmp ecx, eax
jle 0x5cb67b
cmp byte [esp + 0x13], 0
jne 0x5cb65e
cmp ecx, edx
jge 0x5cb65a
mov ecx, edx
jmp 0x5cb643
mov ecx, eax
jmp 0x5cb643
cmp ecx, edx
jge 0x5cb66f
lea eax, [edx + edx]
sub eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x2c]
jmp 0x5cb643
add eax, eax
sub eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x2c]
jmp 0x5cb643
cmp ecx, dword [esp + 0x7c]
jl 0x5cb69e
cmp ecx, dword [esp + 0x5c]
jg 0x5cb69e
mov eax, dword [esp + 0x18]
fld dword [eax + esi*4]
fld dword [eax + ecx*4]
mov ecx, eax
fmul dword [ebx]
mov eax, dword [esp + 0x2c]
fsubp st(1)
fstp dword [ecx + esi*4]
lea edi, [edi + ebp*2]
add ebx, 4
lea ecx, [ebp*2]
cmp edi, dword [esp + 0x3c]
jle 0x5cb640
mov ebp, dword [esp + 0x80]
add esi, ecx
cmp esi, ebp
jle 0x5cb622
fldz
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
dec edi
sub eax, 0x10
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
test edi, edi
jns 0x5cb4d1
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
fld qword [0x65ba48]
mov edi, dword [esp + 0x14]
dec ecx
ror ebp, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebp
test ecx, ecx
jns 0x5cb366
mov eax, dword [esp + 0x34]
fstp st(0)
sub eax, dword [esp + 0x24]
fstp st(0)
add eax, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
mov edi, dword [edi + 0x20]
mov ebp, dword [esp + 0x20]
lea esi, [eax + eax*2]
movzx ecx, bp
mov ax, cx
sub ax, word [edx + 0x40]
mov edx, 4
mov word [edi + esi*4], ax
mov eax, ebx
sub eax, ecx
xor ecx, ecx
inc eax
mov word [edi + esi*4 + 2], ax
cwde
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [edi + esi*4 + 4], eax
mov dword [edi + esi*4 + 8], eax
mov ecx, ebp
cmp ebp, ebx
jg 0x5cb803
mov eax, ebx
sub eax, ebp
inc eax
cmp eax, 4
jl 0x5cb7e0
mov ebx, dword [esp + 0x18]
mov eax, ecx
add ebx, 8
xor edx, edx
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0x1c]
sub ebp, eax
sub ebp, 3
shr ebp, 2
inc ebp
lea ecx, [eax + ebp*4]
mov eax, dword [edi + esi*4 + 4]
fld dword [ebx - 8]
fstp dword [edx + eax]
mov eax, dword [edi + esi*4 + 4]
fld dword [ebx - 4]
fstp dword [eax + edx + 4]
mov eax, dword [edi + esi*4 + 4]
fld dword [ebx]
fstp dword [eax + edx + 8]
mov eax, dword [edi + esi*4 + 4]
fld dword [ebx + 4]
add ebx, 0x10
fstp dword [edx + eax + 0xc]
add edx, 0x10
sub ebp, 1
jne 0x5cb7a3
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp ecx, ebx
jg 0x5cb803
mov edx, ecx
sub edx, ebp
mov ebp, dword [esp + 0x18]
shl edx, 2
nop
mov eax, dword [edi + esi*4 + 4]
fld dword [ebp + ecx*4]
inc ecx
fstp dword [edx + eax]
add edx, 4
cmp ecx, ebx
jle 0x5cb7f0
movsx eax, word [edi + esi*4 + 2]
mov ebx, dword [esp + 0x4c]
movsx edx, word [edi + esi*4]
sub ebx, eax
sub ebx, edx
test edx, edx
jle 0x5cb85d
mov ecx, dword [esp + 0x48]
mov ebp, 1
rol ebp, cl
add esi, 4
lea ecx, [edi + esi*4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x8c]
cmp ebx, ebp
jle 0x5cb859
cmp esi, edi
jge 0x5cb859
mov eax, dword [ecx - 0xc]
add edx, ebp
mov dword [ecx], eax
sub ebx, ebp
mov ax, word [ecx - 0xe]
inc esi
mov word [ecx - 4], dx
mov word [ecx - 2], ax
add ecx, 0xc
test edx, edx
jg 0x5cb834
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x34]
fldz
inc eax
mov ebx, dword [esp + 0x8c]
fld qword [0x65ba48]
fld1
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], eax
cmp eax, ebx
jl 0x5cb325
mov ecx, dword [esp + 0x24]
fstp st(0)
fstp st(0)
fstp st(0)
fldz
fld qword [0x65ba48]
fld1
fxch st(2)
mov eax, dword [esp + 0x44]
sub ebx, ecx
add dword [esp + 0x60], ebx
inc eax
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
cmp eax, 2
jl 0x5cb2e4
mov esi, ebp
mov dword [esp + 0x48], ebp
test esi, esi
jg 0x5cb2d1
fstp st(2)
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, dword [esp + 0x28]
jmp 0x5cb6cc