Function at 0x1004bb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x100e8960]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
push edi
push dword [edx + 0x34]
mov dword [ebp - 0x4c], edx
call dword [eax + 0xc]
movsd xmm0, qword [0x100eaae8]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
mov esi, eax
mov dword [ebp - 0x30], esi
lahf
test ah, 0x44
jp 0x1004bba0
mov ecx, dword [0x100e8ffc]
cmp esi, dword [ecx]
je 0x1004bbe6
movsd xmm0, qword [0x100eaa98]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004bbc0
mov ecx, esi
call fcn.1007ae50
test al, al
jne 0x1004bbe6
xorps xmm1, xmm1
movsd xmm0, qword [0x100eaac0]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004bbed
mov ecx, esi
call fcn.1007ae50
test al, al
jne 0x1004bbed
mov eax, dword [0x100e8ffc]
cmp esi, dword [eax]
je 0x1004bbed
xor al, al
jmp 0x1004c1d2
movaps xmm0, xmmword [str.Gc__173._3]
mov edi, 0xb
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], edi
movups xmmword [ebp - 0x18], xmm0
lea eax, [edi + 1]
call fcn.1007cdb0
mov ebx, esp
lea edi, [ebp - 0x17]
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov esi, 0xb
sub edi, ebx
sub esi, ecx
lea edx, [ecx + ebx]
mov cl, byte [ebp - 0x18]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004bc28
mov esi, dword [ebp - 0x30]
mov edi, 0xb
xorps xmm1, xmm1
mov byte [ebx + edi], 0
movsd xmm0, qword [0x100eab28]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004be69
mov eax, dword [0x100e8ffc]
cmp esi, dword [eax]
je 0x1004be69
mov ecx, esi
call fcn.1007ae50
test al, al
cvttsd2si eax, qword [0x100eaaa0]
je 0x1004bcda
add eax, 3
cmp eax, 5
je 0x1004bc8e
mov byte [ebp - 0x1d], 0
cmp eax, 2
jne 0x1004bc92
mov byte [ebp - 0x1d], 1
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [0x100eaab0]
mov edi, dword [edi + eax*4]
mov dword [ebp - 0x38], edi
call fcn.1007ce50
mov ecx, eax
mov dword [ebp - 0x3c], eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
shr eax, 0x18
cmp byte [ebp - 0x1d], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
je 0x1004bdc6
movsd xmm0, qword [0x100eaab8]
call fcn.1007ce50
jmp 0x1004bd3a
add eax, 3
cmp eax, 5
je 0x1004bceb
mov byte [ebp - 0x1d], 0
cmp eax, 2
jne 0x1004bcef
mov byte [ebp - 0x1d], 1
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [0x100eaad8]
mov edi, dword [edi + eax*4]
mov dword [ebp - 0x38], edi
call fcn.1007ce50
mov ebx, eax
shr eax, 0x10
mov edx, ebx
mov byte [ebp - 0x2c], al
mov ecx, ebx
shr edx, 8
shr ecx, 0x18
cmp byte [ebp - 0x1d], 0
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x40], cl
je 0x1004bdc3
movsd xmm0, qword [0x100eaae0]
call fcn.1007ce50
mov ebx, dword [ebp - 0x34]
mov ecx, eax
mov byte [ebp - 0x22], al
shr ecx, 0x10
mov byte [ebp - 0x24], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 8
mov byte [ebp - 0x23], cl
mov ecx, edi
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x24]
push 1
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
push 0
push ebx
call dword [eax + 0x2c]
movzx ecx, byte [ebp - 0x22]
sub esp, 0xc
movss xmm1, dword [0x1008d7a4]
mov esi, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x24]
movzx edx, ch
movzx eax, cl
mov ecx, esi
mov edi, dword [esi]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x2c]
divss xmm0, xmm1
movss dword [esp], xmm0
call eax
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
movss xmm1, dword [0x1008d7a4]
movzx eax, cl
mov ecx, dword [0x100e8950]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
lea edx, [ebp - 0x14]
push edx
divss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x3c]
movzx eax, al
divss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
divss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
call dword [eax + 0x18]
mov eax, dword [ebp - 0x40]
movzx eax, al
mov ecx, dword [0x100e8950]
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edx, dword [ecx]
divss xmm0, dword [0x1008d7a4]
movss dword [esp], xmm0
call dword [edx + 0x10]
mov ecx, dword [0x100e89bc]
push 0
push 0
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push dword [ebp - 0x48]
mov ecx, dword [0x100e89bc]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [0x100e882c]
mov eax, dword [0x100e8ffc]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
cmp esi, eax
jne 0x1004bf8e
cvttsd2si eax, qword [0x100eaaf0]
cmp eax, 5
je 0x1004be91
mov byte [ebp - 0x1d], 0
cmp eax, 2
jne 0x1004be95
mov byte [ebp - 0x1d], 1
mov ecx, dword [ebp - 0x28]
movsd xmm0, qword [0x100eaaf8]
mov edi, dword [ecx + eax*4]
call fcn.1007ce50
mov ecx, eax
movss xmm0, dword [0x1008d764]
mov edx, ecx
movss dword [ebp - 0x28], xmm0
shr edx, 0x18
mov ebx, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x40]
shr eax, 0x10
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x30], eax
shr ebx, 8
divss xmm1, dword [0x1008d7a4]
mulss xmm1, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x3c], xmm0
call fcn.100418a0
movss xmm2, dword [ebp - 0x3c]
xorps xmm3, xmm3
movaps xmm0, xmm2
cmp byte [eax], 0
je 0x1004bf32
movsd xmm1, qword [0x100ea978]
cvtpd2ps xmm1, xmm1
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1004bf32
movaps xmm0, xmm1
movss xmm1, dword [0x1008d764]
divss xmm0, xmm1
mulss xmm0, dword [ebp - 0x38]
addss xmm0, xmm2
jmp 0x1004bf3a
movss xmm1, dword [0x1008d764]
comiss xmm0, xmm1
ja 0x1004bf53
comiss xmm3, xmm0
jbe 0x1004bf4b
movss dword [ebp - 0x28], xmm3
jmp 0x1004bf53
movaps xmm1, xmm0
movss dword [ebp - 0x28], xmm1
cmp byte [ebp - 0x1d], 0
je 0x1004c126
movsd xmm0, qword [0x100eab00]
call fcn.1007ce50
mov ecx, eax
mov byte [ebp - 0x22], al
shr ecx, 0x10
mov byte [ebp - 0x24], cl
mov ecx, eax
shr ecx, 8
shr eax, 0x18
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x1004c031
mov ecx, esi
call fcn.1007ae50
test al, al
je 0x1004c040
cvttsd2si esi, qword [0x100eaaa0]
cmp esi, 5
je 0x1004bfd8
cmp esi, 2
je 0x1004bfd8
movsd xmm0, qword [0x100eaaa8]
mov byte [ebp - 0x1d], 0
call fcn.1007ce50
mov ebx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov edi, dword [eax + esi*4]
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0x30], eax
shr ebx, 8
jmp 0x1004c029
movsd xmm0, qword [0x100eaaa8]
call fcn.1007ce50
movsd xmm0, qword [0x100eaab8]
mov ebx, eax
shr eax, 0x10
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
shr ebx, 8
call fcn.1007ce50
mov ecx, eax
mov byte [ebp - 0x22], al
shr ecx, 0x10
mov byte [ebp - 0x24], cl
mov ecx, eax
shr ecx, 8
shr eax, 0x18
mov byte [ebp - 0x21], al
mov byte [ebp - 0x23], cl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov edi, dword [eax + esi*4]
xorps xmm1, xmm1
movss dword [ebp - 0x28], xmm1
cmp byte [ebp - 0x1d], 0
je 0x1004c126
jmp 0x1004c0c3
cvttsd2si eax, qword [0x100eaac8]
cmp eax, 5
je 0x1004c056
mov byte [ebp - 0x1d], 0
cmp eax, 2
jne 0x1004c05a
mov byte [ebp - 0x1d], 1
mov ecx, dword [ebp - 0x28]
movsd xmm0, qword [0x100eaad0]
mov edi, dword [ecx + eax*4]
call fcn.1007ce50
mov edx, eax
mov byte [ebp - 0x2c], al
mov ebx, eax
shr edx, 0x10
shr ebx, 8
xorps xmm1, xmm1
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 0x30], dl
movss dword [ebp - 0x28], xmm1
je 0x1004c126
movsd xmm0, qword [0x100eaae0]
call fcn.1007ce50
mov ecx, eax
mov byte [ebp - 0x26], al
shr ecx, 0x10
xorps xmm0, xmm0
mov byte [ebp - 0x28], cl
mov ecx, eax
shr ecx, 8
shr eax, 0x18
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
movss dword [ebp - 0x28], xmm0
mov eax, dword [edi]
mov ecx, edi
push 1
push 0
push dword [ebp - 0x34]
call dword [eax + 0x2c]
movzx ecx, byte [ebp - 0x22]
mov edx, eax
movss xmm1, dword [0x1008d7a4]
sub esp, 0xc
mov eax, dword [ebp - 0x24]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, ah
movzx eax, al
mov esi, dword [edx]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, ecx
mov ecx, edx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2c]
divss xmm0, xmm1
movss dword [esp], xmm0
call eax
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
movss xmm1, dword [0x1008d7a4]
movzx eax, al
mov ecx, dword [0x100e8950]
push edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, bl
divss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
movzx eax, al
divss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
divss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
call dword [eax + 0x18]
movss xmm1, dword [ebp - 0x28]
mulss xmm1, dword [0x1008d52c]
mov ecx, dword [0x100e8950]
movss xmm0, dword [0x1008d598]
push ecx
subss xmm0, xmm1
mov eax, dword [ecx]
movss dword [esp], xmm0
call dword [eax + 0x10]
mov ecx, dword [0x100e89bc]
push 0
push 0
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push dword [ebp - 0x48]
mov ecx, dword [0x100e89bc]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [0x100e882c]
mov al, 1
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret 0x10