Function at 0x10092140
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [ebp + 8]
sub esp, 0x74
mov ecx, dword [eax + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x10092470
mov edx, dword [eax + 0xc]
test edx, edx
je 0x10092470
movsd xmm0, qword [eax]
xor ebx, ebx
comisd xmm0, xmmword [ecx]
mov esi, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
movsd qword [esp + 0x58], xmm0
jb 0x100921ab
subsd xmm0, qword [ecx + ebx*8]
lea eax, [ebx + 1]
xor esi, 1
xor ebx, ebx
cmp eax, edx
cmovne ebx, eax
comisd xmm0, xmmword [ecx + ebx*8]
jae 0x10092184
mov dword [esp + 0x38], esi
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x3c], ebx
push dword [ebp + 0xc]
call fcn.1008a7a0
add esp, 4
mov ebx, eax
mov dword [esp + 0x44], ebx
call fcn.1008a9f0
mov ecx, dword [ebx + 0x1c]
mov edi, eax
mov edx, 8
add ecx, dword [edi + 0x1c]
mov esi, dword [edi + 0x20]
cmp ecx, esi
jle 0x10092204
test esi, esi
cmove esi, edx
cmp esi, ecx
jge 0x100921e6
nop
add esi, esi
cmp esi, ecx
jl 0x100921e0
lea eax, [esi*4]
push eax
push dword [edi + 0x18]
call fcn.100c0ecb
add esp, 8
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], esi
mov edx, 8
mov eax, dword [ebx + 0x28]
add eax, dword [edi + 0x28]
mov esi, dword [edi + 0x2c]
cmp eax, esi
jle 0x1009223d
test esi, esi
cmove esi, edx
cmp esi, eax
jge 0x10092226
nop word [eax + eax]
add esi, esi
cmp esi, eax
jl 0x10092220
mov eax, esi
shl eax, 4
push eax
push dword [edi + 0x24]
call fcn.100c0ecb
add esp, 8
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], esi
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x34], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x40], eax
cmp ecx, eax
jae 0x1009245b
nop dword [eax]
movsd xmm0, qword [esp + 0x58]
mov edx, dword [esp + 0x38]
movsd xmm1, qword [ebx + 8]
mov esi, dword [esp + 0x3c]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [ebx]
mov dword [esp + 0x30], edx
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x50], xmm1
test edx, edx
je 0x100922bc
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push edi
call fcn.1008ac60
movsd xmm0, qword [esp + 0x5c]
add esp, 0x14
movsd xmm1, qword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
add ecx, 4
add ebx, 0x10
mov dword [esp + 0x34], ecx
cmp ecx, eax
jae 0x1009245b
nop
cmp dword [ecx], 1
jne 0x10092260
movsd xmm2, qword [ebx]
movsd xmm3, qword [ebx + 8]
subsd xmm2, xmm0
subsd xmm3, xmm1
movaps xmm1, xmm2
movsd qword [esp + 0x68], xmm2
movaps xmm0, xmm3
mulsd xmm1, xmm2
mulsd xmm0, xmm3
movsd qword [esp + 0x70], xmm3
addsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10092313
sqrtsd xmm0, xmm0
jmp 0x10092318
call fcn.100cce20
mov eax, dword [ebp + 8]
movaps xmm3, xmm0
movsd xmm5, qword [esp + 0x60]
xorps xmm0, xmm0
mov edx, dword [esp + 0x30]
movaps xmm2, xmm3
subsd xmm2, xmm0
movsd qword [esp + 0x78], xmm3
mov eax, dword [eax + 8]
xorps xmm4, xmm4
movsd xmm1, qword [eax + esi*8]
subsd xmm1, xmm5
comisd xmm2, xmm1
jbe 0x100923f7
movsd xmm0, qword [eax + esi*8]
sub esp, 0x10
subsd xmm0, xmm5
addsd xmm0, xmm4
movsd qword [esp + 0x70], xmm0
divsd xmm0, xmm3
movaps xmm1, xmm0
mulsd xmm0, qword [esp + 0x80]
mulsd xmm1, qword [esp + 0x78]
addsd xmm0, qword [esp + 0x60]
addsd xmm1, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
push edi
test edx, edx
je 0x100923a0
call fcn.1008ab80
jmp 0x100923a5
call fcn.1008ac60
mov ecx, dword [ebp + 8]
xor eax, eax
movsd xmm3, qword [esp + 0x8c]
add esp, 0x14
cmp dword [esp + 0x30], eax
xorps xmm6, xmm6
movsd xmm4, qword [esp + 0x60]
movaps xmm1, xmm3
sete al
subsd xmm1, xmm4
mov edx, eax
xorps xmm5, xmm5
lea eax, [esi + 1]
mov dword [esp + 0x30], edx
xor esi, esi
cmp eax, dword [ecx + 0xc]
cmovne esi, eax
mov eax, dword [ecx + 8]
movsd xmm0, qword [eax + esi*8]
subsd xmm0, xmm6
comisd xmm1, xmm0
ja 0x10092351
movsd xmm0, qword [ebx]
subsd xmm3, xmm4
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x50], xmm1
addsd xmm5, xmm3
movsd qword [esp + 0x60], xmm5
test edx, edx
je 0x10092441
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push edi
call fcn.1008ab80
movsd xmm0, qword [esp + 0x5c]
add esp, 0x14
movsd xmm1, qword [esp + 0x50]
mov ecx, dword [esp + 0x34]
add ebx, 0x10
mov eax, dword [esp + 0x40]
add ecx, 4
mov dword [esp + 0x34], ecx
cmp ecx, eax
jb 0x100922d0
push dword [esp + 0x44]
call fcn.1008ab50
mov eax, edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
call fcn.1008a690
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret