Function at 0x4228a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7928d1
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x82f184]
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 - 0x12c], edx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x124], edx
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov esi, 1
mov dword [ebp - 0xd0], edx
xor ecx, ecx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov dword [ebp - 4], esi
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], cx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], ecx
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 4
call fcn.00403b80
push ecx
lea edx, [ebp - 0x120]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00417430
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00404220
lea ecx, [ebp - 0x120]
call fcn.00404490
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
cmp edi, eax
mov dword [ebp - 0xd4], eax
je 0x422c89
mov dword [ebp - 0x128], esi
xor eax, eax
mov dword [ebp - 0xe4], 3
mov dword [ebp - 0xe0], 0xc100dd
mov dword [ebp - 0xdc], 0xbb00df
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xe0], cx
inc eax
mov ecx, dword [ebp - 0xe4]
cmp eax, ecx
jb 0x4229f0
xor eax, eax
mov word [ebp + ecx*2 - 0xe0], ax
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.00403460
mov edx, eax
or esi, 2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], esi
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422a40
mov eax, dword [edx + 0x10]
sub ecx, esi
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x422a5a
mov edx, dword [edx]
cmp eax, ecx
jne 0x422a8b
push eax
lea eax, [ebp - 0xe0]
push eax
push edx
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x422a8b
mov edx, dword [ebp - 0x124]
mov ecx, edi
call fcn.00403010
mov byte [ebp - 0xc5], 0
test al, al
je 0x422a92
mov byte [ebp - 0xc5], 1
mov esi, dword [ebp - 0x128]
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 2
mov dword [ebp - 0xcc], esi
call fcn.00404490
cmp byte [ebp - 0xc5], 0
jne 0x422c1e
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x422b2a
push edi
lea ecx, [ebp - 0xfc]
call fcn.00404120
or esi, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xcc], esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0xfc]
xor eax, eax
lea ecx, [ebp - 0xfc]
mov word [ebp - 0xfc], ax
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
call fcn.00404490
mov eax, dword [ebp - 0xd0]
inc eax
lea ecx, [ebp - 0xfc]
push edi
mov dword [ebp - 0xd0], eax
call fcn.00404120
or esi, 8
mov dword [ebp - 0xcc], esi
movups xmm0, xmmword [ebp - 0xfc]
xor eax, eax
mov word [ebp - 0xfc], ax
movups xmmword [ebp - 0x114], xmm0
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x104], xmm0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
lea edx, [ebp - 0x114]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4]
call fcn.0042ac10
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xb
call fcn.00404490
mov eax, dword [ebp - 0x12c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x422bc0
mov ecx, dword [eax]
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push ecx
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x422be1
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x422c2c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00404490
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x94]
call fcn.00404490
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0xc4]
call fcn.00404490
add edi, 0x24
cmp edi, dword [ebp - 0xd4]
jmp 0x4229bd
mov edi, dword [ebp - 0xd8]
lea eax, [ebp - 0x4c]
cmp edi, eax
je 0x422c4a
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.004044f0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00404490
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x94]
call fcn.00404490
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0xc4]
call fcn.00404490
jmp 0x422c8f
mov edi, dword [ebp - 0xd8]
cmp dword [edi + 0x10], 0
jne 0x422d4e
cmp dword [ebp - 0xd0], 1
jne 0x422d4e
mov byte [ebp - 0xd4], 0
lea edx, [ebp - 0x34]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x114]
call fcn.0041c8d0
add esp, 4
lea edx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc4]
call fcn.0042ac10
lea esi, [eax + 0x78]
cmp edi, esi
je 0x422d0a
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x64]
call fcn.00404490
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x94]
call fcn.00404490
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.0041b0e0
lea ecx, [ebp - 0x34]
call fcn.00404490
mov eax, edi
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.0076d59e
mov esp, ebp
pop ebp
ret