Function at 0x4284a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fdab
mov eax, dword fs:[0]
push eax
mov eax, 0x1054
call fcn.0046c620
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
push eax
mov dword [ebp - 0x105c], edi
mov dword [ebp - 0x1060], edi
call fcn.00516260
lea eax, [ebp - 0x1058]
push eax
call fcn.0045d680
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x42850b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x1044]
cmp edx, 8
jb 0x428559
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42854f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42879e
push edx
push ecx
call fcn.0046c2cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x1048], 0
mov word [ebp - 0x1058], ax
xor ebx, ebx
mov dword [ebp - 0x1044], 7
mov eax, 0xdd9
mov word [ebp - 0x1028], ax
mov edi, 0xf
mov eax, 0xdfd
mov word [ebp - 0x1026], ax
mov eax, 0xdeb
mov word [ebp - 0x1024], ax
mov eax, 0xdc8
mov word [ebp - 0x1022], ax
mov eax, 0xdff
mov word [ebp - 0x1020], ax
mov eax, 0xdfa
mov word [ebp - 0x101e], ax
mov eax, 0xdf4
mov word [ebp - 0x101c], ax
mov eax, 0xdde
mov word [ebp - 0x101a], ax
mov eax, 0xdf8
mov word [ebp - 0x1018], ax
mov eax, 0xde6
mov word [ebp - 0x1016], ax
mov eax, 0xd97
mov word [ebp - 0x1014], ax
mov ax, word [ebp - 0x1028]
nop dword [eax + eax]
mov ax, word [ebp + ebx*2 - 0x1028]
mov ecx, ebx
and ecx, edi
movzx esi, ax
cmp ecx, edi
mov eax, 0xf36e0d8c
mov edx, 0x294a81b3
cmovae ecx, edi
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [ebx + 0xd8c]
and cx, di
xor cx, ax
xor cx, si
mov word [ebp + ebx*2 - 0x1028], cx
inc ebx
cmp ebx, 0xb
jb 0x428610
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp - 0x105c]
lea ecx, [ebp - 0x1010]
xor eax, eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1040], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428696
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1040]
call fcn.00421290
lea eax, [ebp - 0x1040]
mov dword [ebp - 4], 0
push eax
call fcn.00461e10
mov edx, dword [ebp - 0x102c]
add esp, 4
test al, al
mov dword [ebp - 4], 0xffffffff
sete bl
cmp edx, 8
jb 0x42871a
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287a3
push edx
push ecx
call fcn.0046c2cf
add esp, 8
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
mov word [edi], ax
test bl, bl
je 0x428750
push eax
push 0x5726b4
jmp 0x428777
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428760
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00421290
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret 4
call fcn.0051a7fc
call fcn.0051a7fc
int3