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

Disassembly:
sub esp, 0x104
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [0x1022ccc8]
push ebx
push ebp
push esi
cmp byte [eax + 0x3970], 0
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
je 0x10118ab8
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
test ecx, ecx
je 0x10118ab8
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10118ab8
mov eax, dword [0x1022ccd0]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movd xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x78]
mov eax, dword [0x1022ccc8]
mov edx, 6
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x3974]
movss dword [esp + 0x40], xmm0
nop
lea ecx, [ecx + 0x18]
xorps xmm0, xmm0
movups xmmword [ecx - 0x18], xmm0
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0xf
mov byte [ecx - 0x18], 0
sub edx, 1
jne 0x101185b0
cmp byte [eax + 0x3978], dl
je 0x10118600
lea esi, [esp + 0x78]
lea ebx, [edx + 3]
mov edi, 2
push 1
push 0x101f837c
mov ecx, esi
call fcn.10023b60
add esi, 0x18
sub edi, 1
jne 0x101185e5
sub ebx, 1
jne 0x101185e0
mov eax, dword [0x10456ac0]
test al, 4
je 0x10118668
mov ax, word [0x101e26e0]
mov word [esp + 0x10], ax
test ah, ah
je 0x10118641
xor ebx, ebx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x10118620
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10118648
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.10023b60
mov eax, dword [0x10456ac0]
test al, 8
je 0x10118697
cmp dword [0x1022da0c], 0xf
lea ecx, [esp + 0xa8]
push dword [0x1022da08]
mov eax, 0x1022d9f8
cmova eax, dword [0x1022d9f8]
push eax
call fcn.10023b60
mov eax, dword [0x10456ac0]
test al, 2
je 0x101186f8
mov ax, word [0x101e25d8]
mov word [esp + 0x10], ax
test ah, ah
je 0x101186d1
xor ebx, ebx
nop dword [eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 2
jl 0x101186b0
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101186d8
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.10023b60
mov eax, dword [0x10456ac0]
test eax, 0x200
je 0x1011872a
cmp dword [0x1022d9f4], 0xf
lea ecx, [esp + 0x90]
push dword [0x1022d9f0]
mov eax, 0x1022d9e0
cmova eax, dword [0x1022d9e0]
push eax
call fcn.10023b60
mov eax, dword [0x10456ac0]
test al, 0x10
je 0x10118759
cmp dword [0x1022d9c4], 0xf
lea ecx, [esp + 0xc0]
push dword [0x1022d9c0]
mov eax, 0x1022d9b0
cmova eax, dword [0x1022d9b0]
push eax
call fcn.10023b60
mov eax, dword [0x10456ac0]
test eax, 0x400
je 0x10118786
cmp dword [0x1022d9dc], 0xf
lea ecx, [esp + 0xf0]
push dword [0x1022d9d8]
mov eax, 0x1022d9c8
cmova eax, dword [0x1022d9c8]
push eax
call fcn.10023b60
mov ecx, dword [0x1022ccd4]
mov dword [esp + 0x6c], 0xc20c0000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x420c0000
mov ecx, dword [ecx + 0x1c]
call fcn.10163700
lea eax, [esp + 0x6c]
mov dword [esp + 0x20], 3
lea esi, [esp + 0x78]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0xf
jbe 0x101187ce
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0
push 0x101d84ee
call fcn.100305c0
test al, al
jne 0x10118a35
mov eax, esi
cmp edi, 0xf
jbe 0x101187ee
mov eax, dword [esi]
mov ecx, dword [0x10456c08]
test eax, eax
jne 0x101187fd
xorps xmm1, xmm1
jmp 0x10118849
movss xmm2, dword [ecx + 0x1988]
movss xmm3, dword [0x1020122c]
push 0
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x1984]
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
push eax
call fcn.1016f860
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x10200e70]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x48], xmm1
cmp dword [esi + 0x14], 0xf
mov edi, esi
movss dword [esp + 0x14], xmm1
jbe 0x10118859
mov edi, dword [esi]
mov eax, dword [0x1022ccc8]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
xor dl, dl
mov dword [esp + 0x44], 0
movss xmm0, dword [eax + 0x3985]
movss dword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x3c]
mov dword [esp + 0x4c], 0x3f19999a
mov eax, dword [esp + 0x4c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], dl
call fcn.100c25f0
movd xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10200e0c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm1
mulss xmm0, dword [0x10200e0c]
subss xmm0, xmm1
addss xmm0, dword [ecx]
addss xmm0, dword [0x10200e78]
movss dword [esp + 0x50], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x60], xmm0
addss xmm0, dword [0x10200e78]
movss dword [esp + 0x54], xmm0
test eax, 0xff000000
je 0x10118966
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10118920
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10118966
push dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
push dword [esp + 0x54]
movups xmm0, xmmword [ebp + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push edi
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x60]
mov ecx, dword [eax + 8]
push ebp
movups xmmword [esp + 0x48], xmm0
call fcn.1016fa20
cmp dword [esi + 0x14], 0xf
mov edi, esi
jbe 0x10118970
mov edi, dword [esi]
mov edx, dword [0x1022ccc8]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [edx + 0x3979]
mov eax, dword [edx + 0x3989]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x398d]
mov byte [ecx + 0x14], al
call fcn.100c25f0
movd xmm0, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10200e0c]
subss xmm0, dword [esp + 0x14]
addss xmm0, dword [eax]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x5c], xmm0
test ebp, 0xff000000
je 0x10118a2b
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101189e0
sub ecx, edx
add ecx, edi
cmp edi, ecx
je 0x10118a31
push dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x5c]
push 0
mov eax, dword [edx + 0x2c]
movups xmm0, xmmword [edx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push edi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [eax + 8]
push ebp
mov ebp, edx
push ebp
movups xmmword [esp + 0x48], xmm0
call fcn.1016fa20
jmp 0x10118a35
mov ebp, dword [esp + 0x18]
jmp 0x10118a39
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, 0x19
add esi, 0x18
cmp ebx, 0x32
jl 0x101187c2
add eax, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], eax
jne 0x101187c0
call fcn.101637b0
mov edi, 6
lea esi, [esp + 0x108]
nop dword [eax + eax]
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec edi
cmp ecx, 0xf
jbe 0x10118aa3
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10118a99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10118ad1
mov eax, edx
push ecx
push eax
call fcn.101a201e
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
jne 0x10118a70
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x104
ret
call fcn.101a7156
int3