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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0x18]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x30]
lea ecx, [edi + 0x13ef]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x28], eax
mov eax, 0x335c49d5
imul ecx
mov dword [ebx + 0x18], edi
sar edx, 0xa
mov ecx, edx
mov dword [ebx + 0x1c], esi
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jge 0x5c33e7
mov ecx, 1
mov eax, edi
cdq
idiv ecx
lea ecx, [esi + 0x1b67]
mov dword [ebx + 0x30], eax
mov eax, 0x255d1e11
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jge 0x5c3410
mov ecx, 1
mov eax, esi
xor esi, esi
cdq
idiv ecx
mov dword [esp + 0x18], esi
mov dword [ebx + 0x34], eax
cmp dword [ebx + 8], esi
jle 0x5c366f
mov eax, dword [ebx + 4]
lea edi, [esi + esi*8]
add edi, edi
mov dword [eax + edi*8 + 0x24], 0
mov eax, dword [ebx + 4]
mov dword [eax + edi*8 + 0x28], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x30]
mov dword [ecx + edi*8 + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [eax + edi*8 + 0x30], 0
mov eax, dword [ebx + 4]
mov dword [eax + edi*8 + 0x34], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x34]
mov dword [ecx + edi*8 + 0x38], eax
mov esi, dword [ebx + 4]
mov ecx, dword [esi + edi*8 + 0x3c]
mov eax, dword [esi + edi*8 + 0x44]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jl 0x5c3485
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + edi*8 + 0x4c]
cmp ecx, eax
jl 0x5c3491
mov dword [esp + 0xc], eax
mov eax, dword [esi + edi*8 + 0x40]
mov ecx, dword [esi + edi*8 + 0x48]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x5c34a7
mov eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + edi*8 + 0x50]
cmp eax, ecx
jl 0x5c34b3
mov dword [esp + 0x10], ecx
fild dword [esi + edi*8 + 0x28]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x60]
fild dword [esi + edi*8 + 0x24]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x58]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x3c], eax
mov esi, dword [ebx + 4]
fild dword [esi + edi*8 + 0x28]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x78]
fild dword [esi + edi*8 + 0x24]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x70]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x40], eax
mov esi, dword [ebx + 4]
fild dword [esi + edi*8 + 0x30]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x60]
fild dword [esi + edi*8 + 0x2c]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x58]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x44], eax
mov esi, dword [ebx + 4]
fild dword [esi + edi*8 + 0x30]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x78]
fild dword [esi + edi*8 + 0x2c]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x70]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x48], eax
mov esi, dword [ebx + 4]
fild dword [esi + edi*8 + 0x38]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x60]
fild dword [esi + edi*8 + 0x34]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x58]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x4c], eax
mov esi, dword [ebx + 4]
fild dword [esi + edi*8 + 0x38]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x78]
fild dword [esi + edi*8 + 0x34]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esi + edi*8 + 0x70]
faddp st(1)
call fcn.005451d0
mov dword [esi + edi*8 + 0x50], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx + edi*8 + 0x3c]
mov ecx, dword [edx + edi*8 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jge 0x5c35d9
mov ecx, eax
mov eax, dword [edx + edi*8 + 0x4c]
cmp ecx, eax
jl 0x5c35e3
mov ecx, eax
mov eax, dword [edx + edi*8 + 0x40]
mov esi, dword [edx + edi*8 + 0x48]
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x5c35f9
mov eax, esi
mov dword [esp + 0x14], esi
mov edx, dword [edx + edi*8 + 0x50]
cmp eax, edx
jl 0x5c3607
mov eax, edx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
cmp esi, 1
jne 0x5c3678
cmp dword [ebx + 0x2c], 0x23bc
je 0x5c3685
mov edx, dword [esp + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esi + edi*8 + 0x3c], eax
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x18]
push esi
add dword [eax + edi*8 + 0x40], ecx
mov eax, dword [ebx + 4]
add dword [eax + edi*8 + 0x44], edx
mov eax, dword [ebx + 4]
add dword [eax + edi*8 + 0x48], ecx
mov eax, dword [ebx + 4]
add dword [eax + edi*8 + 0x4c], edx
mov eax, dword [ebx + 4]
add dword [eax + edi*8 + 0x50], ecx
mov ecx, ebx
call fcn.005c20d0
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [ebx + 8]
jl 0x5c3427
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
jne 0x5c3619
cmp dword [ebx + 0x2c], 0x23bc
je 0x5c3619
mov eax, dword [esp + 0x1c]
sub eax, dword [ebx + 0x30]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub eax, ecx
add eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x34]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x14]
add eax, dword [esp + 0x28]
add ecx, eax
jmp 0x5c3625