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

Disassembly:
sub esp, 0xe8
push ebx
mov ebx, ecx
cmp dword [ebx + 0x10], 0xffffffff
jne 0x5c32b9
mov eax, dword [esp + 0xf0]
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0xe8
ret 0x28
push esi
push edi
mov edi, dword [esp + 0xfc]
push edi
mov dword [esp + 0x14], edi
call fcn.0062f7d0
mov ecx, dword [esp + 0x104]
add esp, 4
cmp ecx, eax
jbe 0x5c32dc
mov ecx, eax
mov edx, dword [ebx + 0x10]
lea eax, [edi + ecx]
mov ecx, dword [ebx + 4]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
je 0x5c3313
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5c331b
fld dword [0x6d3394]
jmp 0x5c3324
mov eax, dword [ecx + edx*8]
fild dword [eax + 0x38]
fmul dword [ebx + 0x20]
cmp ecx, esi
je 0x5c3334
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5c333c
fld dword [0x6d3394]
jmp 0x5c3345
mov ecx, dword [ecx + edx*8]
fild dword [ecx + 0x40]
fmul dword [ebx + 0x24]
fmul dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
cmp eax, 1
fiadd dword [ebx + 0x18]
fstp dword [esp + 0x24]
jle 0x5c3362
dec eax
imul eax, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
jmp 0x5c3366
mov dword [esp + 0x28], esi
fild dword [ebx + 0x1c]
mov esi, dword [esp + 0x110]
test esi, esi
mov eax, dword [esp + 0x38]
fld st(0)
push ebp
mov ebp, dword [ebx + 0x14]
fmul st(2)
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
fiadd dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
fstp dword [esp + 0x44]
fild dword [esp + 0x2c]
fadd st(2)
fmul st(1)
fstp dword [esp + 0x40]
fstp st(0)
fstp st(0)
je 0x5c3b0f
cmp edi, eax
je 0x5c3e21
mov ebp, dword [esp + 0x11c]
nop
mov ecx, dword [esp + 0x14]
mov al, byte [ecx]
test al, al
mov dword [esp + 0x18], 0
jns 0x5c368f
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
cmp edx, eax
je 0x5c3abe
mov al, byte [esp + 0x10c]
test al, al
movzx edi, word [ecx]
jne 0x5c35b6
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3411
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005c2420
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c34e4
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5c345d
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c34e4
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5c34a6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x118]
push edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], eax
call fcn.005c3220
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c34cb
fld dword [esp + 0x10]
call fcn.0063199c
mov dword [esp + 0x34], eax
fld dword [esp + 0x1c]
mov dword [esp + 0x10], 0
fadd dword [esp + 0x28]
fstp dword [esp + 0x1c]
jmp 0x5c3ab0
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call fcn.005c3190
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x6ec298]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5c3517
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
jmp 0x5c3519
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0063199c
fld dword [esp + 0x1c]
mov dword [esp + 0x70], eax
call fcn.0063199c
fild dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x74]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5c358c
mov ecx, dword [eax - 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + ecx*4]
je 0x5c3579
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0x10], edx
add ecx, 2
jmp 0x5c3a9b
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0xc], edx
add ecx, 2
jmp 0x5c3a9b
mov ecx, dword [esp + 0x120]
fld dword [esp + 0x18]
sub eax, 0x18
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
sub eax, 0x18
mov dword [eax + 8], 0
add ecx, 2
jmp 0x5c3a9b
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.005c3190
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x6ec298]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5c35e9
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x5c35eb
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0063199c
fld dword [esp + 0x1c]
mov dword [esp + 0x58], eax
call fcn.0063199c
fild dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x5c]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5c3642
mov ecx, dword [eax - 0x14]
mov edx, dword [esp + 0x20]
test ecx, ecx
mov ecx, dword [ebp + edx*4]
je 0x5c363d
mov dword [eax - 0x10], ecx
jmp 0x5c365c
mov dword [eax - 0xc], ecx
jmp 0x5c365c
mov edx, dword [esp + 0x120]
sub eax, 0x18
mov dword [eax + 0xc], edx
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax + 8], 0
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3676
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005c2420
mov ecx, dword [esp + 0x14]
add ecx, 2
jmp 0x5c3a97
cmp al, 0xd
movsx edi, al
jne 0x5c36a5
mov al, byte [ecx + 1]
xor edx, edx
cmp al, 0xa
sete dl
inc edx
mov edi, edx
jmp 0x5c36b2
cmp al, 0xa
jne 0x5c3751
mov edi, 1
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5c36ff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x118]
push eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], edx
call fcn.005c3220
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
fild dword [esp + 0x34]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
fcomp dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x20], eax
add ecx, edi
fnstsw ax
mov dword [esp + 0x14], ecx
test ah, 5
jp 0x5c34cb
fld dword [esp + 0x10]
call fcn.0063199c
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
fstp dword [esp + 0x1c]
jmp 0x5c3ab0
cmp al, 9
jne 0x5c3803
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5c3772
fld dword [esp + 0x44]
jmp 0x5c3776
fld dword [esp + 0x40]
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c37f5
fld dword [esp + 0x10]
mov edx, dword [esp + 0x108]
test edx, edx
fadd st(1)
fild dword [esp + 0x108]
jge 0x5c37a7
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c37f5
mov eax, dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x1c]
inc eax
fadd dword [esp + 0x28]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x34]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c37e7
fld dword [esp + 0x10]
call fcn.0063199c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
inc ecx
jmp 0x5c3aa3
fadd dword [esp + 0x10]
inc ecx
fstp dword [esp + 0x10]
jmp 0x5c3aa3
mov al, byte [esp + 0x10c]
test al, al
jne 0x5c39c5
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c382c
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005c2420
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c38f9
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5c3878
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c38f9
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5c38bb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x118]
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], eax
call fcn.005c3220
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
fadd dword [esp + 0x28]
inc eax
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x34]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c38ec
fld dword [esp + 0x10]
call fcn.0063199c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5c3ab0
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call fcn.005c3190
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x6ec298]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5c392c
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
jmp 0x5c392e
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0063199c
fld dword [esp + 0x1c]
mov dword [esp + 0x68], eax
call fcn.0063199c
fild dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x6c]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5c399d
mov ecx, dword [eax - 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + ecx*4]
je 0x5c398c
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0x10], edx
inc ecx
jmp 0x5c3a9b
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0xc], edx
inc ecx
jmp 0x5c3a9b
mov ecx, dword [esp + 0x120]
fld dword [esp + 0x18]
sub eax, 0x18
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
sub eax, 0x18
mov dword [eax + 8], 0
inc ecx
jmp 0x5c3a9b
lea edx, [esp + 0xe0]
push edx
mov ecx, esi
call fcn.005c3190
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x6ec298]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5c39f8
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x5c39fa
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0063199c
fld dword [esp + 0x1c]
mov dword [esp + 0x60], eax
call fcn.0063199c
fild dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x64]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5c3a51
mov ecx, dword [eax - 0x14]
mov edx, dword [esp + 0x20]
test ecx, ecx
mov ecx, dword [ebp + edx*4]
je 0x5c3a4c
mov dword [eax - 0x10], ecx
jmp 0x5c3a6b
mov dword [eax - 0xc], ecx
jmp 0x5c3a6b
mov edx, dword [esp + 0x120]
sub eax, 0x18
mov dword [eax + 0xc], edx
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax + 8], 0
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3a85
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005c2420
mov ecx, dword [esp + 0x14]
inc ecx
fadd dword [esp + 0x18]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x5c33c0
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3e21
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x5c3e21
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
call fcn.005c3220
jmp 0x5c3e21
cmp edi, eax
je 0x5c3e21
mov edx, dword [esp + 0x14]
mov al, byte [edx]
xor esi, esi
test al, al
jns 0x5c3c2d
mov eax, dword [esp + 0x3c]
lea ecx, [edx + 1]
cmp ecx, eax
je 0x5c3e21
mov al, byte [esp + 0x10c]
test al, al
movzx edi, word [edx]
jne 0x5c3bf0
fld dword [esp + 0x10]
call fcn.0063199c
mov ebp, eax
test ebp, ebp
je 0x5c3b5b
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push edx
push edi
mov ecx, ebx
call fcn.005c2420
call fcn.0063199c
fld dword [0x6d3394]
fld dword [esp + 0x10]
add esi, eax
fucompp
mov dword [esp + 0x18], esi
fnstsw ax
test ah, 0x44
jnp 0x5c3bdc
fild dword [esp + 0x18]
mov eax, dword [esp + 0x108]
test eax, eax
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5c3ba6
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c3bdc
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c3bcb
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
jmp 0x5c3e13
mov eax, dword [esp + 0x14]
fild dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
add eax, 2
jmp 0x5c3e07
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3c05
mov esi, ebp
mov ecx, dword [esp + 0x30]
push ecx
push edi
mov ecx, ebx
call fcn.005c2420
call fcn.0063199c
add eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
fild dword [esp + 0x28]
add eax, 2
jmp 0x5c3e07
cmp al, 0xd
movsx ecx, al
jne 0x5c3c42
mov cl, byte [edx + 1]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
jmp 0x5c3c4b
cmp al, 0xa
jne 0x5c3c87
mov eax, 1
fild dword [esp + 0x34]
mov esi, dword [esp + 0x24]
add edx, eax
inc esi
fcomp dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 5
jp 0x5c3dcf
fld dword [esp + 0x10]
call fcn.0063199c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5c3e13
cmp al, 9
fld dword [0x6d3394]
fld dword [esp + 0x10]
fucompp
jne 0x5c3d3e
fnstsw ax
test ah, 0x44
jp 0x5c3ca8
fld dword [esp + 0x44]
jmp 0x5c3cac
fld dword [esp + 0x40]
call fcn.0063199c
fld dword [0x6d3394]
fld dword [esp + 0x10]
mov dword [esp + 0x18], eax
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5c3d28
fild dword [esp + 0x18]
mov edx, dword [esp + 0x108]
test edx, edx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5c3ce8
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c3d28
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c3d16
fld dword [esp + 0x10]
call fcn.0063199c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
inc eax
jmp 0x5c3e0f
fild dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
jmp 0x5c3e0f
mov al, byte [esp + 0x10c]
test al, al
fnstsw ax
jne 0x5c3ddf
test ah, 0x44
jnp 0x5c3d56
mov esi, ebp
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, ebx
call fcn.005c2420
call fcn.0063199c
fld dword [0x6d3394]
fld dword [esp + 0x10]
add esi, eax
fucompp
mov dword [esp + 0x18], esi
fnstsw ax
test ah, 0x44
jnp 0x5c3dd9
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5c3da1
fadd dword [0x6d4098]
fcompp
fnstsw ax
test ah, 5
jp 0x5c3dd9
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5c3dcf
fld dword [esp + 0x10]
call fcn.0063199c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5c3e13
fild dword [esp + 0x18]
jmp 0x5c3e02
test ah, 0x44
jnp 0x5c3de6
mov esi, ebp
mov edx, dword [esp + 0x30]
push edx
push ecx
mov ecx, ebx
call fcn.005c2420
call fcn.0063199c
add eax, esi
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc eax
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jne 0x5c3b17
fild dword [esp + 0x34]
pop ebp
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 5
jp 0x5c3e3e
fld dword [esp + 0xc]
call fcn.0063199c
mov esi, eax
jmp 0x5c3e42
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp edx, 3
jb 0x5c3e4e
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x5c3e61
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5c3e69
fld dword [0x6d3394]
jmp 0x5c3e72
mov ecx, dword [ecx + edx*8]
fild dword [ecx + 0x40]
fmul dword [ebx + 0x24]
call fcn.0063199c
mov ecx, dword [esp + 0x20]
imul eax, ecx
dec ecx
imul ecx, dword [ebx + 0x18]
add eax, ecx
mov ecx, dword [esp + 0xf8]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
add esp, 0xe8
ret 0x28