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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, ecx
call fcn.10008636
xor esi, esi
test eax, eax
je 0x10008900
mov eax, dword [0x100106dc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov al, byte [eax + 0x1598]
test al, al
jne 0x10008900
mov ecx, dword [edi + 0x3c]
lea eax, [ecx + edi]
mov edx, eax
xor ecx, eax
xor edx, edi
test edx, edx
cmovns ecx, edx
test ecx, ecx
js 0x100088fb
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10008900
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x10008900
lea edx, [ecx + edi]
mov eax, edx
xor ecx, edx
mov dword [esp], edx
xor eax, edi
test eax, eax
cmovns ecx, eax
test ecx, ecx
js 0x100088fb
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x10008900
mov eax, dword [esp]
movsd xmm1, qword [0x1000ead0]
movapd xmm0, xmmword [0x1000eae0]
movsd xmm3, qword [0x1000eaf0]
xor esi, esi
xor ecx, ecx
mov dword [esp + 4], edi
mov eax, dword [eax + 0x18]
mov dword [esp + 8], eax
cmp ecx, dword [esp + 8]
jg 0x10008900
xorps xmm2, xmm2
cvtsi2sd xmm2, ecx
lea eax, [ecx*4]
movapd xmm4, xmm2
xorps xmm5, xmm5
cvtsi2sd xmm5, eax
mulsd xmm4, xmm1
ucomisd xmm4, xmm5
jne 0x10008791
jnp 0x100087ab
subsd xmm5, xmm4
andpd xmm4, xmm0
andpd xmm5, xmm0
mulsd xmm5, xmm3
ucomisd xmm4, xmm5
jb 0x100088fb
mov edx, dword [esp]
mov ebx, dword [edx + 0x20]
lea edx, [ebx + eax]
xor ebx, edx
xor eax, edx
test ebx, ebx
cmovns eax, ebx
test eax, eax
js 0x100088fb
lea eax, [edx + edi]
mov ebx, eax
xor edx, eax
xor ebx, edi
test ebx, ebx
cmovns edx, ebx
test edx, edx
js 0x100088fb
mov eax, dword [eax]
lea edx, [eax + edi]
mov ebx, edx
xor eax, edx
xor ebx, edi
test ebx, ebx
cmovns eax, ebx
test eax, eax
js 0x100088fb
mov al, byte [edx]
mov edi, 0xc0de1337
mov esi, 0
test al, al
je 0x1000882d
inc edx
mov edi, 0xc0de1337
xor esi, esi
mov ebp, esi
mov ebx, edi
shld ebp, edi, 0x18
shl ebx, 0x18
or ebx, ebp
movzx ebp, al
xor eax, eax
add ebp, ebx
setb al
xor edi, ebp
xor esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1000880b
xor edi, dword [esp + 0x20]
xor esi, dword [esp + 0x24]
or esi, edi
je 0x10008859
lea eax, [ecx + 1]
mov edi, dword [esp + 4]
mov esi, 0
xor ecx, eax
cmovs ecx, eax
test ecx, ecx
mov ecx, eax
jns 0x10008762
jmp 0x100088fb
add ecx, ecx
addsd xmm2, xmm2
mov esi, 0
xorps xmm1, xmm1
cvtsi2sd xmm1, ecx
ucomisd xmm2, xmm1
jne 0x10008873
jnp 0x1000888d
subsd xmm1, xmm2
andpd xmm2, xmm0
andpd xmm1, xmm0
mulsd xmm1, qword [0x1000eaf0]
ucomisd xmm2, xmm1
jb 0x100088fb
mov eax, dword [esp]
mov edx, dword [eax + 0x24]
lea eax, [edx + ecx]
xor edx, eax
xor ecx, eax
test edx, edx
cmovns ecx, edx
test ecx, ecx
js 0x100088fb
mov edi, dword [esp + 4]
lea ecx, [eax + edi]
mov edx, ecx
xor eax, ecx
xor edx, edi
test edx, edx
cmovns eax, edx
test eax, eax
js 0x100088fb
movzx eax, word [ecx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x1c]
and eax, 0x3fff
lea eax, [ecx + eax*4]
xor ecx, eax
cmovs ecx, eax
test ecx, ecx
js 0x100088fb
lea ecx, [eax + edi]
mov edx, ecx
xor eax, ecx
xor edx, edi
test edx, edx
cmovns eax, edx
test eax, eax
js 0x100088fb
mov ecx, dword [ecx]
lea eax, [ecx + edi]
xor edi, eax
xor ecx, eax
test edi, edi
cmovns ecx, edi
test ecx, ecx
js 0x100088fb
mov esi, eax
jmp 0x10008900
call fcn.1000328d
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc