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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10022b42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [edi + ebx]
push eax
call fcn.1000cbb0
and eax, 0xffff
cmp eax, 2
mov dword [esp + 0x1c], eax
jb 0x1000c362
add ebx, 2
mov dword [esp + 0x18], ebx
mov ecx, dword [esi + 0x28]
sub ecx, 0xc
cmp ebx, ecx
ja 0x1000c362
lea edx, [ebx + edi]
mov ecx, esi
push edx
call fcn.1000cbb0
and eax, 0xffff
dec eax
cmp eax, 5
ja case.default.0x1000c1b6
jmp dword [eax*4 + 0x1000c584]
push ebx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.1000cca0
lea ecx, [esp + 0x28]
push 1
push ecx
mov ecx, eax
mov dword [esp + 0xc4], 0
call fcn.10021ed2
push 0x10026160
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0xc8], 1
call fcn.10021ef6
push eax
lea ecx, [esi + 0x68]
mov byte [esp + 0xc0], 2
call fcn.10021ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0xbc], 1
call fcn.10021e9c
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0
call fcn.10021e9c
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], 0xffffffff
call fcn.10021e9c
jmp case.default.0x1000c1b6
lea eax, [edi + ebx + 8]
mov ecx, esi
push eax
call fcn.1000cbe0
mov ecx, dword [esi + 0x28]
mov ebx, eax
sub ecx, 0x18
cmp ebx, ecx
ja 0x1000c348
lea edx, [ebx + edi]
mov ecx, esi
push edx
call fcn.1000cbe0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
fild qword [esp + 0x50]
lea eax, [ebx + edi + 4]
mov ecx, esi
push eax
fstp qword [esp + 0x14]
call fcn.1000cbe0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
fild qword [esp + 0x40]
lea ecx, [edi + ebx + 8]
push ecx
mov ecx, esi
fdivr qword [esp + 0x14]
fstp qword [esi + 0x70]
call fcn.1000cbe0
lea edx, [ebx + edi + 0xc]
mov ecx, esi
push edx
mov dword [esp + 0x14], eax
call fcn.1000cbe0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x64], ecx
fild qword [esp + 0x80]
fild qword [esp + 0x60]
lea edx, [ebx + edi + 0x10]
mov ecx, esi
push edx
fdivp st(1)
fmul qword [0x10023418]
fadd qword [esi + 0x70]
fstp qword [esi + 0x70]
call fcn.1000cbe0
mov dword [esp + 0x10], eax
lea eax, [ebx + edi + 0x14]
push eax
mov ecx, esi
call fcn.1000cbe0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [esp + 0xa0], ecx
xor ecx, ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x74], ecx
fild qword [esp + 0xa0]
fild qword [esp + 0x70]
fdivp st(1)
fmul qword [0x10023410]
fadd qword [esi + 0x70]
fstp qword [esi + 0x70]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ebx, 0xc
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
jne 0x1000c18e
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
lea edx, [esp + 0x30]
push edi
push edx
mov ecx, esi
call fcn.1000cca0
lea ecx, [esp + 0x24]
push 1
push ecx
mov ecx, eax
mov dword [esp + 0xc4], 3
call fcn.10021ed2
push 0x10026160
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0xc8], 4
call fcn.10021ef6
push eax
lea ecx, [esi + 0x78]
mov byte [esp + 0xc0], 5
call fcn.10021ec0
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 4
call fcn.10021e9c
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 3
call fcn.10021e9c
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.10021e9c
jmp case.default.0x1000c1b6
lea eax, [edi + ebx + 8]
mov ecx, esi
push eax
call fcn.1000cbe0
mov ecx, dword [esi + 0x28]
mov ebx, eax
sub ecx, 0x18
cmp ebx, ecx
ja 0x1000c348
lea edx, [ebx + edi]
mov ecx, esi
push edx
call fcn.1000cbe0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
fild qword [esp + 0x90]
lea eax, [ebx + edi + 4]
mov ecx, esi
push eax
fstp qword [esp + 0x14]
call fcn.1000cbe0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
fild qword [esp + 0x48]
lea ecx, [edi + ebx + 8]
push ecx
mov ecx, esi
fdivr qword [esp + 0x14]
fstp qword [esi + 0x80]
call fcn.1000cbe0
lea edx, [ebx + edi + 0xc]
mov ecx, esi
push edx
mov dword [esp + 0x14], eax
call fcn.1000cbe0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
fild qword [esp + 0x58]
fild qword [esp + 0x68]
lea edx, [ebx + edi + 0x10]
mov ecx, esi
push edx
fdivp st(1)
fmul qword [0x10023418]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
call fcn.1000cbe0
mov dword [esp + 0x10], eax
lea eax, [ebx + edi + 0x14]
push eax
mov ecx, esi
call fcn.1000cbe0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], ecx
fild qword [esp + 0x78]
fild qword [esp + 0x88]
fdivp st(1)
fmul qword [0x10023410]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x1000c348
mov dl, byte [ebx + edi + 8]
mov byte [esi + 0x88], dl
jmp case.default.0x1000c1b6
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x34]
push eax
push ecx
push ebx
push edi
mov ecx, esi
call fcn.1000cc40
test eax, eax
je case.default.0x1000c1b6
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], ecx
fild qword [esp + 0x98]
mov dword [esp + 0xac], eax
fild qword [esp + 0xa8]
fdivp st(1)
fstp qword [esi + 0x90]
jmp case.default.0x1000c1b6