Function at 0x10105c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10331c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push edi
lea edi, [eax + 8]
mov dword [ebp - 0x28], eax
mov byte [eax + 0xcac99], 0
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x10106611
mov eax, dword [0x1033740c]
cmp byte [eax + 0x18], 0
jne 0x10105c4d
cmp byte [eax + 0x19], 0
je 0x10105c4d
cmp dword [eax + 0x1c], 0
jg 0x10105c4d
cmp dword [eax + 4], 1
jne 0x10105c4d
mov ecx, dword [eax + 0x28]
jmp 0x10105c4f
xor ecx, ecx
mov eax, dword [0x1020a020]
sub eax, ecx
push esi
push eax
call fcn.1006e4b0
mov esi, dword [edi]
add esp, 4
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [esi + 0x14]
andps xmm0, xmmword [0x101bba30]
comiss xmm0, dword [0x101bb928]
jbe 0x10105c87
push esi
mov ecx, edi
jmp 0x10106607
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [0x101bb99c]
lahf
test ah, 0x44
jnp 0x10106610
mov edx, dword [esi + 0x20]
test edx, edx
je 0x10106610
cmp dword [esi + 8], 0xffffffff
jne 0x10106610
cmp byte [esi], 0
je 0x10106610
cmp byte [esi + 1], 0
je 0x10106610
mov ecx, dword [0x10332c94]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x101065fe
mov ecx, dword [edi]
mov edx, dword [ecx + 0x278]
mov ecx, edi
call edx
test al, al
je 0x101065fe
cmp dword [esi + 0x50], edi
jne 0x101065fe
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x10332ce0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x101065fe
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x24]
movq xmm0, qword [esi + 0x30]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
push dword [esi + 0x50]
push eax
push ecx
call fcn.10111e90
add esp, 0x18
test al, al
jne 0x10105e0b
movss xmm0, dword [esi + 0x40]
lea eax, [ebp - 0x1c]
subss xmm0, dword [esi + 0x28]
push eax
cvtps2pd xmm7, xmm0
movss xmm0, dword [esi + 0x3c]
subss xmm0, dword [esi + 0x24]
mulsd xmm7, xmm7
cvtps2pd xmm6, xmm0
movss xmm0, dword [esi + 0x44]
subss xmm0, dword [esi + 0x2c]
mulsd xmm6, xmm6
cvtps2pd xmm4, xmm0
movss xmm0, dword [esi + 0x34]
addsd xmm6, xmm7
subss xmm0, dword [esi + 0x28]
mulsd xmm4, xmm4
cvtps2pd xmm5, xmm0
movss xmm0, dword [esi + 0x30]
addsd xmm6, xmm4
subss xmm0, dword [esi + 0x24]
mulsd xmm5, xmm5
cvtps2pd xmm3, xmm0
movss xmm0, dword [esi + 0x38]
subss xmm0, dword [esi + 0x2c]
mulsd xmm3, xmm3
mov esi, dword [0x1033743c]
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm3, xmm5
sqrtsd xmm0, xmm6
mulsd xmm2, xmm2
cvtpd2ps xmm1, xmm0
addsd xmm3, xmm2
xorps xmm0, xmm0
sqrtsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10105dfc
mov ecx, 0x1032fd68
call fcn.10054f40
jmp 0x101065e7
mov ecx, 0x1032fd88
call fcn.10055aa0
jmp 0x101065e7
movss xmm0, dword [esi + 0x1c]
ucomiss xmm0, dword [0x101bb96c]
lahf
test ah, 0x44
jp 0x101063f3
cmp dword [esi + 8], 0x50
jle 0x10106003
cmp dword [esi + 0x10], 6
mov edi, dword [0x1033743c]
jg 0x10105f13
cmp byte [0x1032fda0], 0
je 0x10105ea8
cmp byte [0x1032fda1], 0
jne 0x10105ef6
mov byte [0x1032fda1], 1
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fdd0]
xor edx, dword [0x1032fdd4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fda2], al
inc esi
cmp esi, 0x28
jb 0x10105e60
jmp 0x10105ef6
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fdd0]
xor edx, dword [0x1032fdd4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fda2], al
inc esi
cmp esi, 0x28
jb 0x10105eb0
lea eax, [ebp - 0x21]
push eax
push 0x1032fdc9
push 0x1032fda2
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
cmp byte [0x1032fdd8], 0
je 0x10105f95
cmp byte [0x1032fdd9], 0
jne 0x10105fe6
mov byte [0x1032fdd9], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe08]
xor edx, dword [0x1032fe0c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x2c
jb 0x10105f32
lea eax, [ebp - 0x21]
push eax
push 0x1032fe05
push str.MI_f
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe08]
xor edx, dword [0x1032fe0c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x2c
jb 0x10105fa0
lea eax, [ebp - 0x21]
push eax
push 0x1032fe05
push str.MI_f
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
jge 0x101061f8
cmp dword [esi + 0x10], 6
mov edi, dword [0x1033743c]
jg 0x10106108
cmp byte [0x1032fe10], 0
je 0x101060a3
cmp byte [0x1032fe11], 0
jne 0x101060eb
mov byte [0x1032fe11], 1
xor esi, esi
nop dword [eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe50]
xor edx, dword [0x1032fe54]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fe12], al
inc esi
cmp esi, 0x3a
jb 0x10106040
lea eax, [ebp - 0x21]
push eax
push 0x1032fe4b
push 0x1032fe12
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe50]
xor edx, dword [0x1032fe54]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fe12], al
inc esi
cmp esi, 0x3a
jb 0x101060a5
lea eax, [ebp - 0x21]
push eax
push 0x1032fe4b
push 0x1032fe12
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
cmp byte [0x1032fe58], 0
je 0x10106193
cmp byte [0x1032fe59], 0
jne 0x101061db
mov byte [0x1032fe59], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe98]
xor edx, dword [0x1032fe9c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fe5a], al
inc esi
cmp esi, 0x37
jb 0x10106130
lea eax, [ebp - 0x21]
push eax
push 0x1032fe90
push 0x1032fe5a
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fe98]
xor edx, dword [0x1032fe9c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fe5a], al
inc esi
cmp esi, 0x37
jb 0x10106195
lea eax, [ebp - 0x21]
push eax
push 0x1032fe90
push 0x1032fe5a
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
mov ecx, dword [0x1033740c]
call fcn.10105840
mov edi, dword [0x1033743c]
test al, al
je 0x10106303
cmp byte [0x1032fea0], 0
je 0x10106297
cmp byte [0x1032fea1], 0
jne 0x101062e6
mov byte [0x1032fea1], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fed0]
xor edx, dword [0x1032fed4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fea2], al
inc esi
cmp esi, 0x2a
jb 0x10106234
lea eax, [ebp - 0x21]
push eax
push 0x1032fecb
push 0x1032fea2
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
xor esi, esi
nop dword [eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fed0]
xor edx, dword [0x1032fed4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032fea2], al
inc esi
cmp esi, 0x2a
jb 0x101062a0
lea eax, [ebp - 0x21]
push eax
push 0x1032fecb
push 0x1032fea2
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
cmp byte [0x1032fed8], 0
je 0x10106389
cmp byte [0x1032fed9], 0
jne 0x101063d6
mov byte [0x1032fed9], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fef8]
xor edx, dword [0x1032fefc]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032feda], al
inc esi
cmp esi, 0x18
jb 0x10106326
lea eax, [ebp - 0x21]
push eax
push 0x1032fef1
push 0x1032feda
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1032fef8]
xor edx, dword [0x1032fefc]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1032feda], al
inc esi
cmp esi, 0x18
jb 0x10106390
lea eax, [ebp - 0x21]
push eax
push 0x1032fef1
push 0x1032feda
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, edi
jmp 0x101065e9
mov ecx, dword [0x10332e40]
test cl, 1
jne 0x10106413
mov eax, dword [0x10332e34]
or ecx, 1
mov dword [0x10332e40], ecx
mov dword [0x10332e3c], eax
jmp 0x10106418
mov eax, dword [0x10332e3c]
cmp dword [eax + edi], 0
mov eax, dword [0x10332e48]
jne 0x1010656b
test al, 1
jne 0x10106441
mov edx, dword [0x10332e30]
or eax, 1
mov dword [0x10332e48], eax
mov dword [0x10332e44], edx
jmp 0x10106447
mov edx, dword [0x10332e44]
cmp dword [edx + edi], 0
jle 0x10106571
cmp byte [esi + 0xe90c], 0
je 0x1010652e
cmp byte [0x1032ff00], 0
mov eax, dword [0x1033743c]
mov dword [ebp - 0x2c], eax
je 0x101064ca
cmp byte [0x1032ff01], 0
jne 0x10106513
mov byte [0x1032ff01], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x1032ff18]
xor edx, dword [0x1032ff1c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [edi + 0x1032ff02], al
inc edi
cmp edi, 0x10
jb 0x10106485
jmp 0x10106513
xor edi, edi
nop dword [eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x1032ff18]
xor edx, dword [0x1032ff1c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [edi + 0x1032ff02], al
inc edi
cmp edi, 0x10
jb 0x101064d0
lea eax, [ebp - 0x21]
push eax
push 0x1032ff11
push 0x1032ff02
lea ecx, [ebp - 0x1c]
call fcn.10054040
mov ecx, dword [ebp - 0x2c]
jmp 0x10106544
mov edi, dword [0x1033743c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x1032ff20
call fcn.10055280
mov ecx, edi
push 0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.10124f90
lea ecx, [ebp - 0x1c]
call fcn.10049830
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x28]
inc dword [ecx + eax*4 + 0x13fc]
jmp 0x10106601
mov edx, dword [0x10332e44]
test cl, 1
jne 0x1010658d
or ecx, 1
mov dword [0x10332e40], ecx
mov ecx, dword [0x10332e34]
mov dword [0x10332e3c], ecx
jmp 0x10106593
mov ecx, dword [0x10332e3c]
mov esi, dword [0x1020a080]
cmp dword [ecx + esi], 0
jne 0x101065c1
test al, 1
jne 0x101065b7
mov edx, dword [0x10332e30]
or eax, 1
mov dword [0x10332e48], eax
mov dword [0x10332e44], edx
cmp dword [edx + esi], 0
jle 0x101065c1
mov al, 1
jmp 0x101065c3
xor al, al
mov esi, dword [0x1033743c]
test al, al
lea eax, [ebp - 0x1c]
push eax
jne 0x101065dd
mov ecx, 0x1032ff40
call fcn.100550e0
jmp 0x101065e7
mov ecx, 0x1032ff60
call fcn.10055010
mov ecx, esi
push 0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.10124f90
lea ecx, [ebp - 0x1c]
call fcn.10049830
mov ecx, dword [ebp - 0x28]
push dword [ecx + 8]
add ecx, 8
lea eax, [ebp - 0x2c]
push eax
call fcn.10105860
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.101556c2
mov esp, ebp
pop ebp
ret