Function at 0x1004e800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100801cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b4], ecx
mov edi, 4
mov dword [ebp - 0x18c], 0x3e3a2b5f
xor eax, eax
mov dword [ebp - 0x190], edi
mov word [ebp - 0x187], ax
mov byte [ebp - 0x185], al
lea eax, [edi + 1]
mov byte [ebp - 0x188], 0x32
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18b]
xor ecx, ecx
mov dword [ebp - 0x1ac], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 4
sub esi, ecx
mov cl, byte [ebp - 0x18c]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004e888
mov eax, esp
mov dword [ebp - 0x190], 6
mov edi, 4
mov dword [ebp - 0x18c], 0x23353346
mov dword [ebp - 0x188], 0x222f34
mov byte [eax + edi], 0
lea eax, [esi + 8]
call fcn.1007cd80
mov edi, esp
lea esi, [ebp - 0x18b]
mov dword [ebp - 0x1c4], edi
mov ecx, edi
sub esi, edi
mov edx, 6
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x46
mov byte [ecx - 1], al
sub edx, 1
jne 0x1004e8e0
lea eax, [edx + 8]
mov byte [edi + 6], dl
mov dword [ebp - 0x190], 6
mov dword [ebp - 0x18c], 0x36322057
mov dword [ebp - 0x188], 0x393827
call fcn.1007cd80
mov edi, esp
lea esi, [ebp - 0x18b]
mov dword [ebp - 0x1c8], edi
mov ecx, edi
sub esi, edi
mov edx, 6
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x57
mov byte [ecx - 1], al
sub edx, 1
jne 0x1004e930
mov byte [edi + 6], dl
mov edi, 7
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x190], 0x696d7f08
mov dword [ebp - 0x18c], 0x57666778
lea eax, [edi + 1]
mov dword [ebp - 0x188], edx
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18f]
xor ecx, ecx
mov dword [ebp - 0x1b0], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 7
sub esi, ecx
mov cl, byte [ebp - 0x190]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004e992
mov eax, esp
mov dword [ebp - 0x18c], 0x7c6d7019
mov edi, 7
mov dword [ebp - 0x188], 0x4674
mov byte [eax + edi], 0
mov edi, 5
mov dword [ebp - 0x190], edi
lea eax, [edi + 1]
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18b]
xor ecx, ecx
mov dword [ebp - 0x19c], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 5
sub esi, ecx
mov cl, byte [ebp - 0x18c]
mov al, byte [edi + edx]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004e9f6
movaps xmm0, xmmword [0x1008e130]
mov eax, esp
mov edi, 5
movups xmmword [ebp - 0x194], xmm0
mov byte [eax + edi], 0
mov edi, 0xd
mov dword [ebp - 0x198], edi
lea eax, [edi + 1]
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x193]
xor ecx, ecx
mov dword [ebp - 0x1a0], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 0xd
sub esi, ecx
mov cl, byte [ebp - 0x194]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004ea54
mov eax, esp
mov dword [ebp - 0x18c], 0x7b287e5b
mov edi, 0xd
mov dword [ebp - 0x188], esi
mov byte [eax + edi], 0
mov edi, 3
mov dword [ebp - 0x190], edi
lea eax, [edi + 1]
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18b]
xor ecx, ecx
mov dword [ebp - 0x1a4], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 3
sub esi, ecx
mov cl, byte [ebp - 0x18c]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004eab4
mov eax, esp
mov dword [ebp - 0x190], 0x657f7210
mov edi, 3
mov dword [ebp - 0x18c], 0x30647877
mov dword [ebp - 0x188], esi
mov byte [eax + edi], 0
mov edi, 7
mov dword [ebp - 0x194], edi
lea eax, [edi + 1]
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18f]
xor ecx, ecx
mov dword [ebp - 0x1a8], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 7
sub esi, ecx
mov cl, byte [ebp - 0x190]
nop
mov al, byte [edi + edx]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004eb20
mov eax, esp
mov dword [ebp - 0x18c], 0x7d045277
mov edi, 7
mov dword [ebp - 0x188], esi
mov byte [eax + edi], 0
mov edi, 3
mov dword [ebp - 0x190], edi
lea eax, [edi + 1]
call fcn.1007cdb0
mov esi, esp
lea edi, [ebp - 0x18b]
xor ecx, ecx
mov dword [ebp - 0x1b8], esi
sub edi, esi
lea edx, [ecx + esi]
mov esi, 3
sub esi, ecx
mov cl, byte [ebp - 0x18c]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x1004eb80
mov esi, esp
mov edi, 3
mov byte [esi + edi], 0
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1004edae
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
call fcn.1004e540
mov ecx, dword [ebp - 0x1b4]
mov esi, eax
push 0
push dword [ebp - 0x1ac]
call edi
cmp dword [esi], eax
je 0x1004edae
mov eax, dword [0x100e8994]
mov edi, dword [ebp - 0x1b4]
mov ecx, edi
push 0
push dword [ebp - 0x1c4]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x100e8994]
push eax
call esi
mov esi, dword [0x100e8994]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
lea ecx, [ebp - 0x180]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [edi]
mov ecx, edi
push 0x100847b7
push dword [ebp - 0x1c8]
mov eax, dword [eax + 0x24]
call eax
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ec50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100109d0
mov esi, dword [ebp - 0x1b0]
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ec75
mov edi, dword [ebp - 0x14]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
push esi
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.1001efb0
add esp, 0xc
cmp eax, 0xffffffff
je 0x1004eca5
push 0
push ecx
push 7
jmp 0x1004ecdb
mov edx, dword [ebp - 0x19c]
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004ecb0
sub esi, ecx
cmp edi, 0x10
push esi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x18]
push ecx
call fcn.1001efb0
add esp, 0xc
cmp eax, 0xffffffff
je 0x1004ece4
push 0
push ecx
push 5
push ecx
lea ecx, [ebp - 0x28]
call fcn.1004fd20
mov eax, dword [0x100e898c]
lea edx, [ebp - 0x19c]
push dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], 0xff00ffc8
push edx
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x64]
call eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x1a0], 0xffcce5ff
push eax
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x1a0]
push eax
push 1
call fcn.10078480
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 0xffffffff
push eax
push 1
call fcn.10078480
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1a8], 0xffe6d8ad
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1a8]
push eax
push 1
call fcn.10078480
mov edx, dword [ebp - 0x14]
add esp, 0x38
cmp edx, 0x10
jb 0x1004edae
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004eda4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004eda4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
lea esp, [ebp - 0x1d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret