Function at 0x1004b310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3034
call fcn.1007cd80
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [ebx + 0x20]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3034], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x302c], esi
mov dword [ebp - 0x3030], edi
mov dword [ebp - 0x3028], ecx
test edx, edx
je 0x1004b673
mov eax, dword [0x100e8ffc]
cmp dword [eax], 0
je 0x1004b673
mov ecx, dword [0x100e896c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x3024], eax
mov eax, 8
mov dword [ebp - 0x301c], 6
mov dword [ebp - 0x3018], 0x545d4231
mov dword [ebp - 0x3014], 0x544754
call fcn.1007cd80
mov eax, esp
lea esi, [ebp - 0x3017]
mov ecx, eax
sub esi, eax
mov edx, 6
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x31
mov byte [ecx - 1], al
sub edx, 1
jne 0x1004b3b2
mov eax, esp
push eax
push dword [ebp - 0x3024]
mov byte [eax + 6], dl
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov esi, dword [ebp - 0x302c]
add esp, 8
test eax, eax
jne 0x1004b683
mov ecx, dword [0x100e8960]
push dword [ebx + 0x34]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x3020], eax
test eax, eax
je 0x1004b4f1
mov edx, dword [eax + 8]
add eax, 8
mov ecx, eax
mov dword [ebp - 0x3014], eax
call dword [edx + 8]
cmp dword [eax + 0x14], 0x28
jne 0x1004b4f1
mov ecx, dword [0x100e8ffc]
mov edx, dword [ebp - 0x3020]
mov eax, dword [ecx]
cmp edx, eax
jne 0x1004b482
cmp byte [0x100e8804], 0
je 0x1004b683
cmp edx, eax
jne 0x1004b482
mov ecx, dword [0x100e89bc]
push 0
push 0
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [0x100e8950]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3f800000
mov dword [ebp - 0xc], 0x3f800000
mov dword [ebp - 8], 0x3f800000
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [0x100e8ffc]
mov edx, dword [ebp - 0x3020]
movsd xmm0, qword [0x100ea978]
cvtpd2ps xmm0, xmm0
ucomiss xmm0, dword [0x1008d504]
lahf
test ah, 0x44
jnp 0x1004b4dc
mov ecx, dword [ecx]
cmp edx, ecx
jne 0x1004b4dc
call fcn.100418a0
cmp byte [eax], 0
je 0x1004b4dc
movsd xmm0, qword [0x100ea978]
mov ecx, dword [0x100e8950]
movss xmm1, dword [0x1008d598]
cvtpd2ps xmm0, xmm0
push ecx
mov eax, dword [ecx]
mulss xmm0, dword [0x1008d52c]
subss xmm1, xmm0
movss dword [esp], xmm1
call dword [eax + 0x10]
movsd xmm0, qword [0x100eab18]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b4fc
push dword [ebp - 0x3028]
jmp 0x1004b674
mov edx, dword [ebp - 0x3024]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x3020], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b510
sub ecx, dword [ebp - 0x3020]
cmp ecx, 0x13
jbe 0x1004b4f1
cmp byte [edx + 0xd], 0x2f
jne 0x1004b4f1
cmp byte [edx + 7], 0x70
jne 0x1004b4f1
cmp byte [edx], 0x6d
jne 0x1004b4f1
call fcn.10045870
mov ecx, dword [ebp - 0x3014]
mov dword [ebp - 0x3024], eax
mov edx, dword [ecx]
call dword [edx + 0x28]
imul ecx, eax, 0xe4
mov eax, dword [ebp - 0x3024]
mov dword [ebp - 0x3020], ecx
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x1004b657
call fcn.1007ae50
test al, al
je 0x1004b657
movsd xmm0, qword [0x100eab08]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004b657
mov edx, dword [ebp - 0x3024]
mov ecx, dword [ebp - 0x3020]
mov ecx, dword [ecx + edx + 0xa0]
lea eax, [ecx - 2]
cmp eax, 0x66
ja 0x1004b657
mov eax, dword [ebp - 0x3020]
mov eax, dword [eax + edx + 0x1c]
test eax, eax
jle 0x1004b657
cmp eax, ecx
jae 0x1004b657
lea esi, [ebp - 0x3010]
mov edi, 0x100
mov ecx, esi
call fcn.10014af0
add esi, 0x30
sub edi, 1
jne 0x1004b5d0
mov edx, dword [ebp - 0x3024]
mov esi, dword [ebp - 0x3020]
mov ecx, dword [esi + edx + 0x1c]
mov eax, dword [esi + edx + 0x9c]
add ecx, eax
mov eax, dword [esi + edx + 0x98]
dec eax
and ecx, eax
mov eax, dword [esi + edx + 0x94]
lea edx, [ebp - 0x3010]
push edx
push dword [eax + ecx*4]
mov ecx, dword [ebp - 0x3034]
call fcn.1004b6a0
mov edi, dword [ebp - 0x3030]
mov esi, dword [ebp - 0x302c]
test al, al
je 0x1004b657
mov ecx, dword [0x100e89bc]
lea eax, [ebp - 0x3010]
push eax
push ebx
push edi
push esi
call dword [0x100e882c]
mov ecx, dword [0x100e89bc]
push 0
push 0
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push dword [ebp - 0x3028]
mov ecx, dword [ebp - 0x3034]
push ebx
push edi
push esi
call fcn.1004bb40
push dword [ebp - 0x3028]
jmp 0x1004b674
push ecx
mov ecx, dword [0x100e89bc]
push ebx
push edi
push esi
call dword [0x100e882c]
lea esp, [ebp - 0x3040]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret 0x10