Function at 0x100a5730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10277534]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x74], eax
call fcn.100ae420
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
mulss xmm0, dword [0x101706f8]
push eax
push 0
mov dword [ebp - 0x48], 0x3f800000
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x40], 0x3f800000
movss dword [ebp - 0x3c], xmm0
call fcn.1001a560
mov esi, dword [0x10277e90]
add esp, 8
mov dword [ebp - 0x78], esi
and dword [esi + 0x1a34], 0xffffffef
mov ecx, dword [0x10277e90]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ebx, dword [ecx + 0x19b0]
mov dword [ebp - 0x54], ebx
cmp byte [ebx + 0x8f], 0
jne 0x100a5ee6
push 0
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.10013a30
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10010af0
movss xmm1, dword [ebx + 0xdc]
lea eax, [ebp - 0xc0]
movss xmm2, dword [ebx + 0xd8]
add esp, 0x10
addss xmm1, dword [0x1017b424]
movss dword [ebp - 0x68], xmm2
movaps xmm3, xmm2
movss xmm0, dword [ebx + 0xdc]
addss xmm3, dword [0x1017b3ec]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [0x10170740]
movss dword [ebp - 0xc0], xmm2
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0xb8], xmm3
movss dword [ebp - 0xb4], xmm1
movss xmm0, dword [esi + 0x154c]
movss dword [esp], xmm0
push eax
call fcn.10015b70
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.10015810
add esp, 0x14
test al, al
je 0x100a5ee6
push 0
lea eax, [ebp - 0x69]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10035f90
push ebx
mov byte [ebp - 0x31], al
call fcn.10015700
push 1
push dword [ebp - 0x30]
mov bh, al
mov byte [ebp - 0x6d], bh
call fcn.100a1ed0
add esp, 0x20
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
lea ecx, [edi + 0x48]
push eax
call fcn.100a1870
push 4
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push dword [ebp - 0x90]
lea esi, [eax + 4]
mov dword [ebp - 0x3c], eax
push esi
call fcn.100ac520
movss xmm1, dword [esi]
lea ecx, [ebp - 0x4c]
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0
mulss xmm1, dword [0x10174bd4]
mov bl, 0xd9
push 0xf
mulss xmm0, dword [0x1017b3c0]
mov dword [ebp - 0x18], 0xff
addss xmm1, dword [0x1017075c]
cvttss2si eax, xmm0
mulss xmm1, dword [ebp - 0x38]
sub bl, al
lea eax, [ebp - 0x94]
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x94], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x18]
cmovle eax, ecx
push ecx
mov ecx, dword [edi + 4]
mov dword [esp], 0x40800000
mov al, byte [eax]
mov byte [ebp - 0x49], al
lea eax, [ebp - 0x60]
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x4b], bl
mov byte [ebp - 0x4a], bl
push dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10021b20
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100a59cd
movss xmm0, dword [ebp - 0x68]
addss xmm0, dword [0x10170754]
push 1
push 0
push dword [ebp - 0x30]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x10170758]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1001b160
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x50]
jne 0x100a59e1
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x1ae0], ecx
jne 0x100a5a05
test bh, bh
jne 0x100a5a05
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x140], 0
jne 0x100a59f7
mov dword [eax + 0x314], ecx
push ecx
call fcn.10019c20
mov bh, 1
add esp, 4
mov byte [ebp - 0x6d], bh
mov esi, dword [ebp - 0x3c]
push 4
push ecx
mov dword [esp], 0x3f000000
mov ecx, edi
push dword [ebp - 0x6d]
mov byte [esi], bh
add esi, 8
push esi
mov dword [ebp - 0x50], esi
call fcn.100ac520
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x100a5afb
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10010af0
movss xmm0, dword [ebp - 0x98]
lea eax, [ebp - 0x24]
addss xmm0, dword [0x1017b3e0]
push eax
push 0
mov dword [ebp - 0x24], 0x3f800000
mov dword [ebp - 0x20], 0x3f800000
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [esi]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0x3f800000
movss dword [ebp - 0x18], xmm0
call fcn.1001a560
movss xmm1, dword [0x1017b460]
lea eax, [ebp - 0x1c]
subss xmm1, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x60]
push 0
push eax
mov eax, dword [ebp - 0x74]
mulss xmm1, dword [ebp - 0x54]
push 0
push 0
push eax
addss xmm1, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
subss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, dword [0x101759f4]
movss dword [ebp - 0x3c], xmm0
call fcn.1001b230
push 1
call fcn.1001a0b0
add esp, 0x3c
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x64]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x1017b464]
addss xmm0, dword [0x1017b3c8]
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
addss xmm1, dword [0x1017b460]
addss xmm0, dword [0x1017b3dc]
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x7c], xmm0
test bh, bh
je 0x100a5c04
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push 3
push ecx
mov ecx, dword [edi + 4]
mulss xmm0, dword [0x1017b468]
mov dword [esp], 0x40800000
mov word [ebp - 0x30], 0x505
mov byte [ebp - 0x2e], 5
cvttss2si eax, xmm0
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x80]
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10021b20
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push ecx
movss xmm1, dword [ebp - 0x80]
mov ecx, dword [edi + 4]
mulss xmm0, dword [0x1017b458]
mov dword [esp], 0x3f800000
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x7c]
subss xmm0, dword [0x10170724]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm1
subss xmm1, dword [0x1017b460]
push eax
lea eax, [ebp - 0x58]
movss dword [ebp - 0x3c], xmm0
push eax
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x58], xmm1
call fcn.10020e80
movss xmm3, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x68]
movaps xmm0, xmm2
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x1017b46c]
addss xmm2, dword [0x1017b470]
push ecx
mov ecx, dword [edi + 4]
lea eax, [ebp - 0xa0]
mov dword [esp], 0x3fc00000
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1017b45c]
addss xmm3, dword [0x101759e0]
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [0x1017076c]
movss dword [ebp - 0x9c], xmm3
cvttss2si ebx, xmm0
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10020e80
movss xmm0, dword [ebp - 0x88]
lea eax, [ebp - 0xa0]
addss xmm0, dword [0x1017b3c8]
push ecx
mov ecx, dword [edi + 4]
mov dword [esp], 0x3fc00000
mov word [ebp - 0x30], 0xffff
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x10170724]
mov byte [ebp - 0x2e], 0xff
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x3c], xmm0
push eax
call fcn.10020e80
cmp byte [ebp - 0x6d], 0
je 0x100a5ee6
cmp byte [0x1026db18], 0
mov edi, dword [ebp - 0x78]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x3c], eax
je 0x100a5d57
cmp byte [0x1026db19], 0
jne 0x100a5da5
mov byte [0x1026db19], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1026db2c]
xor ebx, dword [0x1026db28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x54], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1026db1a], al
inc esi
cmp esi, 0xd
jb 0x100a5d13
jmp 0x100a5da2
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1026db2c]
xor ebx, dword [0x1026db28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x54], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1026db1a], al
inc esi
cmp esi, 0xd
jb 0x100a5d60
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x31]
push eax
push 0x1026db26
push 0x1026db1a
lea ecx, [ebp - 0x2c]
call fcn.1004e6f0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.10014240
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10044080
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
addss xmm0, dword [0x1017b464]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x40], 0
push 0
push eax
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x1017b0e0]
mov dword [ebp - 0x3c], 0
movss dword [ebp - 0x54], xmm0
call fcn.1001d0f0
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0x43480000
mov dword [ebp - 0x54], 0
call fcn.100a5f20
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
xorps xmm1, xmm1
movss dword [ebp - 0x3c], xmm0
comiss xmm0, xmm1
lea ecx, [ebp - 0x54]
push 0
movss xmm1, dword [0x1017b3b8]
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm1, xmm0
cmovae eax, ecx
movss xmm0, dword [eax]
lea eax, [ebp - 0xb0]
mulss xmm0, dword [esi]
push eax
mov dword [ebp - 0xb0], 0x42f60000
movss dword [ebp - 0xac], xmm0
call fcn.1001d140
movss xmm0, dword [ebp - 0x38]
add esp, 0x14
mulss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.1001d0c0
movss xmm0, dword [edi + 0x1518]
lea eax, [ebp - 0x40]
push eax
push 1
mov dword [ebp - 0x40], 0x40e00000
movss dword [ebp - 0x3c], xmm0
call fcn.1001a5b0
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d780
push 1
mov bl, al
call fcn.1001a100
add esp, 0x1c
test bl, bl
jne 0x100a5efb
call fcn.100123e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010c522
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.1001a0b0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.1010c522
mov esp, ebp
pop ebp
ret 0x10