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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ebx
call fcn.00011660
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
test byte [ebp + 0x1c], 4
mov dword [esp + 0x20], ecx
je 0x11716
mov edx, dword [ebp + 8]
push 0
lea ebx, [esp + 0x10]
lea edi, [esp + 0x20]
mov eax, esi
call fcn.00011550
fld dword [esp + 0xc]
fmul dword [0x218f0c]
sub esp, 8
fsubr dword [ebp + 0x10]
fstp qword [esp]
call fcn.001597eb
mov ebx, dword [ebp + 8]
fstp dword [esp + 0x28]
add esp, 8
cmp word [esi], 0
mov dword [esp + 0x24], 1
je 0x11b19
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1179d
test byte [ebp + 0x1c], 3
je 0x11795
mov edx, dword [ebp + 8]
push 1
lea ebx, [esp + 0xe0]
lea edi, [esp + 0x2c]
mov eax, esi
call fcn.00011550
mov bl, byte [ebp + 0x1c]
test bl, 1
je 0x1176e
fld dword [ebp + 0xc]
sub esp, 8
fsub dword [esp + 0x30]
fstp qword [esp]
call fcn.001597eb
fstp dword [esp + 0x18]
add esp, 8
test bl, 2
je 0x11792
fld dword [esp + 0x28]
sub esp, 8
fmul dword [0x218f0c]
fsubr dword [ebp + 0xc]
fstp qword [esp]
call fcn.001597eb
fstp dword [esp + 0x18]
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], 0
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
mov dword [ebp + 0x18], esi
jne 0x117d1
mov ecx, dword [ebx]
fild dword [ebx]
test ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
jge 0x117c1
fadd dword [0x218ed8]
fadd dword [esp + 0x20]
mov dword [esp + 0x24], 1
fstp dword [esp + 0x20]
mov cx, word [ebx + 0xc]
cmp ax, cx
jb 0x11b0f
cmp ax, word [ebx + 0xe]
ja 0x11b0f
movzx edx, cx
mov ecx, dword [ebx + 0x14]
movzx eax, ax
sub eax, edx
lea eax, [eax + eax*2]
movsx edx, word [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
movsx ecx, word [eax + 0x12]
mov dword [esp + 0xc], edx
mov edx, dword [ebx]
test edx, edx
fild dword [esp + 0xc]
mov dword [esp + 0xc], ecx
fadd dword [esp + 0x10]
fst dword [esp + 0x10]
fsub dword [0x218f0c]
fst dword [esp + 0x14]
fild dword [esp + 0xc]
fadd dword [0x218ee8]
fadd dword [esp + 0x14]
fld dword [esp + 0x20]
fsub dword [0x218f0c]
fst dword [esp + 0xc]
fild dword [ebx]
jge 0x1184a
fadd dword [0x218ed8]
fadd dword [0x218ee8]
movsx ecx, word [eax + 0x14]
fadd dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 4]
lea edx, [ecx - 1]
test edx, edx
fst dword [esp + 0x1c]
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fild dword [esp + 0xc]
jge 0x11884
fadd dword [0x218ed8]
test ecx, ecx
fstp dword [esp + 0x18]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x1189a
fadd dword [0x218ed8]
mov ecx, dword [ebx + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
lea edx, [ecx - 1]
test edx, edx
fmul dword [eax]
mov dword [esp + 0xc], edx
fdiv dword [esp + 0x14]
fild dword [esp + 0xc]
jge 0x118c0
fadd dword [0x218ed8]
test ecx, ecx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x118d2
fadd dword [0x218ed8]
fld st(1)
mov edi, dword [ebx + 0x40]
fmul dword [eax + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x54]
fdiv st(1)
mov dword [esp + 0x74], edx
lea esi, [esp + 0x6c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, 0x1c
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
fstp dword [esp + 0xc]
fld dword [esp + 0x18]
fmul dword [eax + 8]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fxch st(1)
fmul dword [eax + 0xc]
fdiv st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld st(4)
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
fxch st(1)
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], ecx
fst dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
fxch st(3)
mov dword [esp + 0x84], ecx
fstp dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
fst dword [esp + 0x30]
mov ecx, 7
fxch st(2)
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
fst dword [esp + 0x5c]
fxch st(1)
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x40]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa0], ecx
add esi, edx
mov dword [ebx + 0x40], esi
mov edi, esi
mov ecx, 7
lea esi, [esp + 0x88]
mov dword [esp + 0x98], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x40]
add ecx, edx
mov dword [ebx + 0x40], ecx
mov edi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xcc], ecx
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd0], eax
mov ecx, 7
lea esi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xac], ecx
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x18]
add edi, edx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xbc], ecx
mov dword [ebx + 0x40], edi
mov dword [esp + 0xb8], eax
mov ecx, 7
lea esi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
add esi, edx
inc ecx
mov eax, ecx
lea edx, [eax*4 + 4]
cmp edx, 0x1000
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], ecx
jbe 0x11b0c
mov esi, ebx
call fcn.00011b40
mov eax, dword [ebx + 0x38]
push 0
push eax
call fcn.0016a130
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0
mov esi, dword [ebp + 0x18]
cmp word [esi], 0
jne 0x11728
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x11b34
dec eax
mov dword [ebx + 0x48], eax
jne 0x11b34
mov eax, dword [ebx + 0x44]
test eax, eax
jbe 0x11b34
mov esi, ebx
call fcn.00011b40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18