Function at 0x10004548
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x50
mov eax, 0x1002da4a
call fcn.1002d4f8
sub esp, 0x3c
push ebx
push esi
and dword [ebp - 4], 0
mov ebx, 0x508f64dc
movaps xmm0, xmmword [0x10037370]
mov eax, ebx
and dword [ebp - 0x40], 0
mov esi, 0x66a3eb58
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x44], 5
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], esi
xor dword [ebp + ecx*4 - 0x3c], eax
inc ecx
cmp ecx, dword [ebp - 0x44]
jae 0x10004598
mov eax, dword [ebp - 0x48]
jmp 0x10004589
mov eax, dword [ebp - 0x40]
push edi
mov edi, 0x611ec9b9
mov eax, dword [ebp + eax*4 - 0x3c]
mov edx, dword fs:[eax]
mov eax, edi
and dword [ebp + 0x48], 0
xor ecx, ecx
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], 2
mov dword [ebp + 0x4c], 0x611ec989
mov dword [ebp + 0x50], esi
xor dword [ebp + ecx*4 + 0x4c], eax
inc ecx
cmp ecx, dword [ebp + 0x44]
jae 0x100045d3
mov eax, dword [ebp + 0x40]
jmp 0x100045c4
mov eax, dword [ebp + 0x48]
push 0xfffffffffffffff1
pop ecx
mov byte [ebp + 0x28], cl
mov eax, dword [ebp + eax*4 + 0x4c]
mov dword [ebp + 0x2c], 0xd
mov dword [ebp + 0x30], 0x95909ebd
mov dword [ebp + 0x34], 0x839398bd
mov eax, dword [eax + edx]
mov dword [ebp + 0x38], 0xa6888390
mov byte [ebp + 0x3c], cl
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
xor eax, eax
xor byte [ebp + eax + 0x30], cl
inc eax
cmp eax, dword [ebp + 0x2c]
jae 0x10004620
mov cl, byte [ebp + 0x28]
jmp 0x10004611
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000899b
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
and dword [ebp], 0
lea ecx, [ebp + 8]
push eax
mov dword [ebp + 4], esi
call fcn.100089fa
lea ecx, [ebp - 0x24]
call fcn.10009377
mov byte [ebp - 4], 2
lea esi, [ebp + 0x68]
cmp dword [ebp + 0x7c], 8
lea eax, [ebp + 8]
cmovae esi, dword [ebp + 0x68]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [ebp], eax
call eax
mov ecx, dword [ebp + 0x5c]
mov byte [ebp - 4], 0
mov dword [ecx], eax
lea ecx, [ebp + 8]
call fcn.10009377
movaps xmm0, xmmword [0x10037370]
mov edx, 0x66a3eb58
and dword [ebp + 0x28], 0
xor eax, eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], 5
movups xmmword [ebp + 0x2c], xmm0
mov dword [ebp + 0x3c], edx
xor dword [ebp + eax*4 + 0x2c], ebx
inc eax
cmp eax, dword [ebp + 0x24]
jae 0x100046b8
mov ebx, dword [ebp + 0x20]
jmp 0x100046a9
mov eax, dword [ebp + 0x28]
xor ebx, ebx
mov eax, dword [ebp + eax*4 + 0x2c]
mov ecx, dword fs:[eax]
mov eax, ebx
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x30], 2
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], 0x611ec989
mov dword [ebp + 0x3c], edx
xor dword [ebp + eax*4 + 0x38], edi
inc eax
cmp eax, dword [ebp + 0x30]
jae 0x100046ec
mov edi, dword [ebp + 0x2c]
jmp 0x100046dd
mov eax, dword [ebp + 0x34]
mov byte [ebp - 0x28], bl
push dword [ebp - 0x28]
mov byte [ebp - 0x24], 0x3d
mov eax, dword [ebp + eax*4 + 0x38]
push 0x10036ecc
mov dword [ebp - 0x20], 0xf
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.100072c5
mov ecx, ebx
pop edi
cmp dword [ebp - 0x20], ecx
jbe 0x1000473a
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, dword [ebp - 0x20]
jb 0x1000472d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000899b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov dword [ebp], ebx
mov dword [ebp + 4], esi
call fcn.100089fa
lea ecx, [ebp - 0x40]
call fcn.10009377
mov byte [ebp - 4], 4
mov eax, ebx
push 0xffffffffffffff88
pop ecx
mov byte [ebp + 0x40], cl
mov dword [ebp + 0x44], 9
mov dword [ebp + 0x48], 0xd7fcedfb
mov dword [ebp + 0x4c], 0xe0fbe9e0
mov byte [ebp + 0x50], cl
xor byte [ebp + eax + 0x48], cl
inc eax
cmp eax, dword [ebp + 0x44]
jae 0x10004797
mov cl, byte [ebp + 0x40]
jmp 0x10004788
mov eax, dword [ebp + 0x5c]
cmp dword [ebp + 0x1c], 0x10
mov esi, dword [eax]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp + 0x48]
mov dword [ebp], eax
push ecx
push esi
call eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
mov esi, eax
call fcn.10009377
test esi, esi
je 0x100047d6
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call esi
pop ecx
pop ecx
lea ecx, [ebp + 0x68]
call fcn.100092e2
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x54
leave
ret 0x24