Function at 0x1004a4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x100d6084]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
mov byte [esp + 0x40], 0x47
mov al, 0x33
xor al, byte [esp + 0x40]
mov dl, 0x29
xor dl, byte [esp + 0x40]
mov dh, 0x28
mov byte [esp + 0x1d], dh
mov ah, 0x18
mov byte [esp + 0x42], al
mov byte [esp + 0x13], 0x25
mov dh, byte [esp + 0x13]
xor dh, byte [esp + 0x40]
mov byte [esp + 0x1e], 0x34
mov al, byte [esp + 0x1e]
mov byte [esp + 0x43], dl
mov dl, byte [esp + 0x40]
xor al, dl
mov byte [esp + 0x13], dh
mov byte [esp + 0x41], dh
mov dh, byte [esp + 0x1d]
mov cl, 0x24
mov byte [esp + 0x48], al
mov ch, 0x2b
mov byte [esp + 0x1f], 0x22
xor ah, dl
mov al, byte [esp + 0x1f]
xor cl, dl
xor ch, dl
mov byte [esp + 0x4a], 0
xor dh, dl
xor al, dl
mov byte [esp + 0x44], ah
cmp byte [esp + 0x13], 0
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], ch
mov byte [esp + 0x47], dh
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jne 0x1004a564
xor ecx, ecx
jmp 0x1004a579
lea ecx, [esp + 0x41]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a570
sub ecx, edx
push ecx
lea eax, [esp + 0x45]
push eax
lea ecx, [esp + 0x68]
call fcn.10002840
mov ecx, dword [edi]
lea edx, [esp + 0x60]
call fcn.1001b710
mov dword [edi + 4], eax
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jb 0x1004a5ae
inc eax
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x64]
call fcn.10002720
movaps xmm0, xmmword [str._:__:]
xor ecx, ecx
movups xmmword [esp + 0x50], xmm0
nop dword [eax]
mov al, byte [esp + 0x50]
xor byte [esp + ecx + 0x51], al
inc ecx
cmp ecx, 0xe
jb 0x1004a5c0
cmp byte [esp + 0x51], 0
mov byte [esp + 0x5f], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jne 0x1004a5f3
xor ecx, ecx
jmp 0x1004a609
lea ecx, [esp + 0x51]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a600
sub ecx, edx
push ecx
lea eax, [esp + 0x55]
push eax
lea ecx, [esp + 0x68]
call fcn.10002840
mov ecx, dword [edi]
lea edx, [esp + 0x60]
call fcn.1001b710
mov dword [edi + 8], eax
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jb 0x1004a63e
inc eax
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x64]
call fcn.10002720
call fcn.100189a0
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1004a7d3
mov dword [edi + 0xc], eax
call fcn.1001bdf0
mov ecx, eax
call dword [0x100c6850]
test eax, eax
je 0x1004a7d3
mov ecx, dword [edi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a6ab
push 4
push eax
call esi
test eax, eax
jne 0x1004a6ab
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004a6ab
push 4
push eax
call esi
test eax, eax
jne 0x1004a6ab
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a6f5
push 4
push eax
call esi
test eax, eax
jne 0x1004a6f5
mov ecx, dword [esp + 0xc]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100c6860]
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a72b
push 4
push eax
call esi
test eax, eax
jne 0x1004a72b
mov eax, dword [esp + 0xc]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x14], eax
call esi
test eax, eax
jne 0x1004a72b
mov eax, dword [esp + 0xc]
mov dword [eax], 0xb
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a750
push 4
push eax
call esi
test eax, eax
jne 0x1004a750
mov ecx, dword [esp + 0xc]
push pe_nt_image_headers32
call dword [0x100c682c]
mov ecx, dword [edi + 8]
lea eax, [esp + 0x60]
push eax
call fcn.1001b7c0
add esp, 4
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0xc]
movups xmmword [esp + 0x50], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a78d
push 4
push eax
call esi
test eax, eax
jne 0x1004a78d
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
call dword [0x100c685c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a7b2
push 4
push eax
call esi
test eax, eax
jne 0x1004a7b2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
call dword [0x100c6808]
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004a7d3
push 4
push eax
call esi
test eax, eax
jne 0x1004a7d3
mov ecx, dword [esp + 0xc]
push eax
call dword [0x100c681c]
mov cl, 0x69
mov dword [esp + 0x40], 0x1a080b69
mov dword [esp + 0x44], 0x110c360c
xor eax, eax
mov dword [esp + 0x48], 0x708010a
mov word [esp + 0x4c], 0xc0e
mov byte [esp + 0x4e], 0
nop dword [eax + eax]
xor byte [esp + eax + 0x41], cl
inc eax
cmp eax, 0xd
jae 0x1004a810
mov cl, byte [esp + 0x40]
jmp 0x1004a800
cmp byte [esp + 0x41], 0
mov byte [esp + 0x4e], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jne 0x1004a835
xor ecx, ecx
jmp 0x1004a849
lea ecx, [esp + 0x41]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a840
sub ecx, edx
push ecx
lea eax, [esp + 0x45]
push eax
lea ecx, [esp + 0x68]
call fcn.10002840
mov ecx, dword [edi]
lea edx, [esp + 0x60]
call fcn.1001b710
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jb 0x1004a87e
inc eax
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x64]
call fcn.10002720
xor eax, eax
mov dword [esp + 0xc], eax
push eax
mov dl, 0x3c
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1c], dl
mov al, 0x19
mov cl, 0x58
mov byte [esp + 0x1f], 0
xor al, dl
mov dword [esp + 0x48], 0
xor cl, dl
mov byte [esp + 0x1d], al
sub esp, 0x18
mov byte [esp + 0x36], cl
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x35], 0
jne 0x1004a8ce
xor ecx, ecx
jmp 0x1004a8eb
lea ecx, [esp + 0x35]
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a8e0
sub ecx, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x39]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [esp + 0x44]
push eax
call fcn.1000f620
mov ecx, dword [edi + 0x20]
add esp, 0x20
mov edx, eax
call fcn.1001b710
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
cmp ecx, 0x10
jb 0x1004a92b
inc ecx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.10002720
call fcn.100189a0
mov edi, eax
test edi, edi
je 0x1004aaff
mov dword [esp + 0x44], edi
call fcn.1001bdf0
mov ecx, eax
call dword [0x100c6850]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aaff
mov edx, dword [esp + 0x20]
push 4
mov dword [edi], eax
push eax
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
call esi
test eax, eax
jne 0x1004a98d
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004a98d
push 4
push eax
call esi
test eax, eax
jne 0x1004a98d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004a9d4
push 4
push eax
call esi
test eax, eax
jne 0x1004a9d4
mov ecx, dword [esp + 0x14]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100c6860]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aa07
push 4
push eax
call esi
test eax, eax
jne 0x1004aa07
mov eax, dword [esp + 0x14]
add eax, 0xcc
push 4
push eax
mov dword [esp + 0x1c], eax
call esi
test eax, eax
jne 0x1004aa07
mov eax, dword [esp + 0x14]
mov dword [eax], 0xb
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aa29
push 4
push eax
call esi
test eax, eax
jne 0x1004aa29
mov ecx, dword [esp + 0x14]
push pe_nt_image_headers32
call dword [0x100c682c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x1004aa86
push 4
push eax
call esi
test eax, eax
jne 0x1004aa86
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0xe0]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0xe8]
mov dword [esp + 0x5c], eax
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aab2
push 4
push eax
call esi
test eax, eax
jne 0x1004aab2
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call dword [0x100c685c]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aad4
push 4
push eax
call esi
test eax, eax
jne 0x1004aad4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call dword [0x100c6808]
mov edi, dword [edi]
test edi, edi
je 0x1004aaec
push 4
push edi
call esi
test eax, eax
jne 0x1004aaec
push eax
mov ecx, edi
call dword [0x100c681c]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
lea ecx, [edi + 0x24]
call fcn.1004c1b0
jmp 0x1004ab03
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x18
jl 0x1004a884
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret