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

Disassembly:
sub esp, 0xe8
mov edx, dword [esp + 0xec]
fild dword [ecx + 0x14]
mov eax, dword [ecx + 0x110]
imul edx, edx, 0x2dc
fmul dword [ecx + 0x34]
fstp dword [esp]
push ebx
push ebp
push esi
xor ebx, ebx
lea esi, [edx + eax]
push edi
mov edi, dword [esi + 0x284]
cmp edi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
jle 0x5b72c5
mov ebp, dword [esi + 0x2bc]
add ebp, 0x260
fild dword [ebp]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x5b6cb4
inc ebx
add ebp, 0x2dc
cmp ebx, edi
jl 0x5b6c91
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
jmp 0x5b6cb9
mov ebp, ebx
lea eax, [ebx - 1]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x5b72c5
cmp ebx, edi
jge 0x5b72c5
mov edi, eax
imul ebp, ebp, 0x2dc
mov eax, dword [ecx + 0x110]
imul edi, edi, 0x2dc
mov eax, dword [edx + eax + 0x2bc]
mov dword [esp + 0x1c], ebp
fild dword [eax + edi + 0x260]
fld dword [esp + 0x10]
fsub st(1)
fild dword [eax + ebp + 0x260]
fsub st(2)
fdivp st(1)
fstp st(1)
fcom qword [0x65d0d8]
fnstsw ax
test ah, 5
jp 0x5b6d1d
fstp st(0)
fld qword [0x65d0d8]
jmp 0x5b6d32
fcom qword [0x65b718]
fnstsw ax
test ah, 0x41
jne 0x5b6d32
fstp st(0)
fld qword [0x65b718]
mov ebx, dword [esi + 0x264]
xor eax, eax
test ebx, ebx
jle 0x5b6df0
jmp 0x5b6d50
mov esi, dword [esi + 0x2bc]
mov ebx, dword [esi + ebp + 0x244]
test ebx, ebx
mov dword [esp + 0x18], esi
je 0x5b72b4
mov esi, dword [ebx + eax*8]
mov dword [esp + 0x10], esi
fld dword [esp + 0x10]
mov esi, dword [ebx + eax*8 + 4]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov esi, dword [edi + esi + 0x244]
mov ebx, dword [esi + eax*8]
mov esi, dword [esi + eax*8 + 4]
mov dword [esp + 0x24], esi
mov esi, dword [ecx + 0x110]
mov esi, dword [edx + esi + 0x244]
mov dword [esp + 0x20], ebx
fsub dword [esp + 0x20]
fld dword [esp + 0x14]
inc eax
fsub dword [esp + 0x24]
fld st(2)
fld st(0)
fmul st(3)
fadd dword [esp + 0x20]
fstp dword [esi + eax*8 - 8]
mov esi, dword [ecx + 0x110]
mov esi, dword [edx + esi + 0x244]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esi + eax*8 - 4]
mov esi, dword [ecx + 0x110]
mov ebx, dword [esi + edx + 0x264]
add esi, edx
fstp st(0)
cmp eax, ebx
fstp st(0)
jl 0x5b6d50
mov esi, dword [ecx + 0x110]
mov ebx, dword [esi + edx + 0x268]
add esi, edx
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x18], eax
jle 0x5b7295
lea ecx, [ecx]
mov esi, dword [esi + 0x2bc]
mov ebx, dword [esi + ebp + 0x24c]
test ebx, ebx
je 0x5b72b4
cmp dword [esi + ebp + 0x258], 0
je 0x5b72b4
add ebx, eax
mov ebp, dword [ebx]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [edi + esi + 0x24c]
add ebx, eax
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx]
mov dword [esp + 0x38], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + esi + 0x258]
mov esi, dword [edi + esi + 0x258]
add ebx, eax
add esi, eax
mov dword [esp + 0x3c], ebp
mov ebp, dword [ebx]
mov dword [esp + 0x8c], ebp
fld dword [esp + 0x8c]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x94], ebx
mov ebx, dword [esi]
mov dword [esp + 0x5c], ebx
fsub dword [esp + 0x5c]
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp + 0x64], esi
mov esi, dword [ecx + 0x110]
mov esi, dword [edx + esi + 0x258]
mov dword [esp + 0x90], ebp
fld dword [esp + 0x90]
mov dword [esp + 0x60], ebx
fsub dword [esp + 0x60]
fld dword [esp + 0x94]
fsub dword [esp + 0x64]
fstp dword [esp + 0xe8]
fld st(2)
fst dword [esp + 0x10]
fmul st(2)
fadd dword [esp + 0x5c]
fstp dword [eax + esi]
mov esi, dword [ecx + 0x110]
fld dword [esp + 0x10]
mov esi, dword [edx + esi + 0x258]
fmul st(1)
fadd dword [esp + 0x60]
fstp dword [esi + eax + 4]
mov esi, dword [ecx + 0x110]
mov esi, dword [edx + esi + 0x258]
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0xe8]
fadd dword [esp + 0x64]
fstp dword [esi + eax + 8]
mov esi, dword [ecx + 0x110]
mov bl, byte [edx + esi + 0x2ac]
test bl, bl
je 0x5b6fbc
fld dword [esp + 0x2c]
mov esi, dword [edx + esi + 0x24c]
fsub dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
fld dword [esp + 0x30]
fsub dword [esp + 0x3c]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
fstp dword [esp + 0xf4]
fld dword [esp + 0x10]
fmul st(2)
fadd dword [esp + 0x38]
fstp dword [eax + esi]
mov esi, dword [ecx + 0x110]
fld dword [esp + 0x10]
mov esi, dword [edx + esi + 0x24c]
fmul st(1)
fadd dword [esp + 0x3c]
fstp dword [esi + eax + 4]
mov esi, dword [ecx + 0x110]
mov esi, dword [edx + esi + 0x24c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0xf4]
fadd dword [esp + 0x40]
fstp dword [esi + eax + 8]
jmp 0x5b7275
cmp dword [esp + 0x28], 1
mov esi, dword [ecx + 0x110]
jne 0x5b700c
add esi, edx
mov dword [esp + 0x10], esi
mov esi, dword [esi + 0x2bc]
mov ebx, dword [edi + esi + 0x24c]
add ebx, eax
mov dword [esp + 0x20], ebx
mov ebp, dword [ebx]
mov dword [esp + 0x74], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x78], ebp
mov ebp, dword [ebx]
mov dword [esp + 0x44], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x48], ebp
jmp 0x5b7049
add esi, edx
mov dword [esp + 0x10], esi
mov esi, dword [esi + 0x2bc]
mov ebx, dword [edi + esi - 0x90]
add ebx, eax
mov ebp, dword [ebx]
mov dword [esp + 0x74], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x28]
inc ebx
cmp ebx, dword [ebp + 0x284]
mov ebp, dword [esp + 0x1c]
je 0x5b709d
mov esi, dword [esi + ebp + 0x528]
test esi, esi
je 0x5b709d
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x34]
add esi, eax
mov dword [esp + 0x58], ebx
mov ebx, dword [esi]
mov dword [esp + 0x68], ebx
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
jmp 0x5b70c5
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
fld st(0)
fmul st(1)
fst qword [esp + 0x20]
fld qword [esp + 0x20]
fmul st(2)
fld qword [0x64fe38]
fmul st(1)
fstp qword [esp + 0x20]
fld st(1)
fmul qword [0x64fe38]
fsubr qword [esp + 0x20]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x88]
fstp st(0)
fmul qword [0x64fe40]
fld st(1)
fadd st(0), st(0)
fsub st(1)
fld st(3)
fmul qword [0x64fe38]
faddp st(1)
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x98]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0xa0]
fstp st(0)
fld st(1)
fmul qword [0x665e00]
fsubp st(1)
fadd qword [0x65b718]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0xc8]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0xcc]
fmul dword [esp + 0x4c]
fld st(2)
fmul qword [0x64fe38]
fadd qword [esp + 0x20]
fsubr st(2)
fld dword [esp + 0x74]
fmul st(1)
fld dword [esp + 0x78]
fmul st(2)
fstp dword [esp + 0xb4]
fld dword [esp + 0x7c]
fmul st(2)
fstp dword [esp + 0xb8]
fadd dword [esp + 0xc8]
fstp dword [esp + 0xd4]
fstp st(0)
fld dword [esp + 0xb4]
fadd dword [esp + 0xcc]
fstp dword [esp + 0xd8]
fld dword [esp + 0xb8]
fadd st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0xd4]
fadd dword [esp + 0x98]
fld dword [esp + 0xd8]
fadd dword [esp + 0x9c]
fstp dword [esp + 0xc0]
fxch st(1)
fadd dword [esp + 0xa0]
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x24c]
add esi, eax
fstp dword [esp + 0xc4]
fadd dword [esp + 0x80]
fstp dword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
fld dword [esp + 0xc0]
mov dword [esi], ebx
fadd dword [esp + 0x84]
fstp dword [esp + 0xa8]
mov ebx, dword [esp + 0xa8]
fld dword [esp + 0xc4]
mov dword [esi + 4], ebx
fadd dword [esp + 0x88]
fstp dword [esp + 0xac]
mov ebx, dword [esp + 0xac]
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x18]
mov esi, dword [ecx + 0x110]
inc ebx
add esi, edx
add eax, 0xc
cmp ebx, dword [esi + 0x268]
mov dword [esp + 0x18], ebx
jl 0x5b6e10
mov ecx, dword [ecx + 0x110]
fstp st(0)
pop edi
pop esi
pop ebp
mov byte [edx + ecx + 0x2d8], 1
mov al, 1
pop ebx
add esp, 0xe8
ret 4
fstp st(0)
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xe8
ret 4
mov al, byte [ecx + 0x26]
test al, al
jne 0x5b72b6
mov al, byte [ecx + 0x25]
test al, al
jne 0x5b72b6
pop edi
mov byte [esi + 0x2d8], 0
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xe8
ret 4