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

Disassembly:
sub esp, 0x80
mov edx, dword [eax + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x88]
push ebx
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
push ebp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0xb8]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [esi + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov al, byte [esi + 0xc]
push edi
mov edi, dword [esp + 0xa8]
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x10]
add edi, 3
xor ebp, ebp
sar edi, 2
cmp edi, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x60], ebp
jle 0x100157e2
mov ecx, dword [esp + 0xb8]
fld dword [esp + 0xa0]
fld dword [esp + 0x9c]
lea eax, [ecx*4]
fldz
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], 0x1009b9b8
mov dword [esp + 0x30], 4
jmp 0x10015426
mov edx, dword [esp + 0x5c]
lea eax, [edi - 1]
cmp ebp, eax
jge 0x10015437
mov dword [esp + 0x50], 4
jmp 0x1001544e
mov eax, dword [esp + 0xa8]
lea ecx, [edi*4]
sub eax, ecx
add eax, 4
mov dword [esp + 0x50], eax
cmp dword [esp + 0xa4], 0
mov cl, byte [edx]
mov dl, byte [edx + 1]
jle 0x100157af
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
add eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x28]
add ebp, 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x74], eax
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
jmp 0x100154af
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x12], dl
mov dl, byte [ecx]
mov ecx, dword [esp + 0x74]
movzx edi, byte [ecx + ebp]
mov cl, al
shr edi, cl
mov byte [esp + 0x13], dl
and edi, 0xf
mov dword [esp + 0x70], edi
je 0x10015785
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
add edx, ebp
movzx esi, byte [edx + ecx + 1]
mov cl, al
shr esi, cl
xor eax, eax
mov dword [esp + 0x3c], eax
and esi, 0xf
cmp dword [esp + 0x50], eax
mov dword [esp + 0x64], esi
jle 0x1001577e
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x4c]
add edx, ecx
add edx, edx
add edx, edx
mov dword [esp + 0x40], edx
cmp byte [eax + edi*4 + 0x1009b9f0], 0
je 0x10015757
cmp byte [eax + esi*4 + 0x1009b9f0], 0
je 0x10015546
mov eax, 0x10
jmp 0x100155bf
mov edx, dword [esp + 0x24]
mov al, byte [edx + 0x1009b9b0]
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
movzx edi, byte [esp + 0x12]
movzx edx, al
movzx eax, byte [esp + 0x23]
and eax, edx
movzx esi, cl
mov ecx, esi
mov esi, dword [esp + 0x24]
shr eax, cl
and edi, edx
shr edi, cl
add eax, eax
add eax, eax
add eax, eax
or eax, edi
movzx edi, byte [esp + 0x13]
add eax, eax
and edi, edx
add eax, eax
shr edi, cl
add eax, eax
or eax, edi
cmp esi, 7
jne 0x10015594
add eax, eax
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x88]
xor edx, edx
cmp dword [ecx + eax*4], edx
mov ecx, esi
mov esi, dword [esp + 0x34]
setne dl
add edx, 0xe
mov eax, edx
mov edx, 0x80
sar edx, cl
or byte [edi + esi], dl
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov edx, 0x80
sar edx, cl
mov ecx, dword [esp + 0x80]
or byte [esi], dl
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
add edi, eax
add esi, eax
movzx eax, byte [edi]
mov eax, dword [eax*4 + 0x10089f80]
mov ebp, eax
mov ecx, ebx
shr ebp, 0x10
shr ecx, 0x10
cmp ecx, ebp
jb 0x1001564d
mov ecx, dword [esp + 0x1c]
mov edx, eax
and edx, 0xffff0000
sub ecx, ebp
sub ebx, edx
test ecx, 0x8000
mov dword [esp + 0x1c], ecx
je 0x1001561f
cmp byte [esi], 0
setne dl
jmp 0x100156f1
cmp ecx, ebp
jb 0x1001562e
cmp byte [esi], 0
setne dl
shr eax, 8
jmp 0x10015687
mov cl, byte [esi]
mov dl, cl
xor dl, 1
setne byte [esp + 0x11]
mov dl, al
and dl, 1
xor dl, cl
shr eax, 1
mov byte [esi], dl
mov dl, byte [esp + 0x11]
and al, 0x7f
jmp 0x10015683
lea ecx, [ebp + ebp]
cmp dword [esp + 0x1c], ecx
jae 0x10015662
cmp byte [esi], 0
setne dl
shr eax, 8
jmp 0x1001567f
mov cl, byte [esi]
mov dl, cl
xor dl, 1
setne byte [esp + 0x11]
mov dl, al
and dl, 1
xor dl, cl
shr eax, 1
mov byte [esi], dl
mov dl, byte [esp + 0x11]
and al, 0x7f
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x1c]
mov byte [edi], al
cmp dword [esp + 0x14], 0
jne 0x100156dc
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x78]
je 0x100156ce
mov al, byte [esi]
add esi, 1
cmp byte [esp + 0x10], 0xff
mov dword [esp + 0x2c], esi
mov byte [esp + 0x10], al
je 0x100156b8
movzx eax, al
shl eax, 8
add ebx, eax
jmp 0x100156d4
cmp al, 0x8f
ja 0x100156ce
movzx eax, al
shl eax, 9
add ebx, eax
mov dword [esp + 0x14], 7
jmp 0x100156dc
add ebx, 0xff00
mov dword [esp + 0x14], 8
sub dword [esp + 0x14], 1
add ecx, ecx
add ebx, ebx
test ecx, 0x8000
je 0x10015689
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0xb0]
fcom dword [ecx + esi]
mov edi, dword [esp + 0x70]
movzx edx, dl
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0xb4]
jp 0x10015730
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul st(2)
fadd dword [ecx + esi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx + esi]
fadd st(3)
jmp 0x1001574c
fld dword [ecx + esi]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx + esi]
fsub st(3)
mov esi, dword [esp + 0x64]
fstp dword [ecx + eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x24], 1
add dword [esp + 0x40], ecx
add dword [esp + 0x54], 4
add eax, 1
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
jl 0x10015527
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xbc]
mov edx, dword [esp + 0x58]
add dword [esp + 0x48], 1
add ebp, 1
add edx, ebp
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x34], ebp
jl 0x100154a7
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x60]
add dword [esp + 0x44], 0x10
mov eax, 4
add dword [esp + 0x38], eax
sub dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x4c], eax
add ebp, 1
cmp ebp, edi
mov dword [esp + 0x60], ebp
jl 0x10015422
mov ecx, dword [esp + 0x2c]
fstp st(2)
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x10]
mov byte [esi + 0xc], al
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [esi + 0x14]
mov eax, ecx
sub eax, dword [esp + 0x8c]
mov dword [esi + 4], ebx
pop edi
mov dword [edx + 8], eax
mov eax, dword [esi + 0x14]
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x80
ret