Function at 0x414420
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4377b1
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x444e3c]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
call fcn.00416f68
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414483
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x18]
push str._s.qss
push edx
mov dword [esp + 0x144], 0
call fcn.004027e0
add esp, 0xc
call fcn.00416f68
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4144cd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x1c]
push str._s.cqs
push edx
mov byte [esp + 0x144], 1
call fcn.004027e0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00417e90
mov ecx, edi
mov byte [esp + 0x138], 2
xor bl, bl
call fcn.0040ab30
mov ebp, dword [esp + 0x18]
push 0
push 0x40
push ebp
lea ecx, [esp + 0x28]
call fcn.004182c1
cmp eax, 1
je 0x4145a4
mov esi, dword [esp + 0x14]
push 0
push 0x40
push esi
lea ecx, [esp + 0x28]
call fcn.004182c1
cmp eax, 1
je 0x4145a6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.00417f8c
lea eax, [ebp - 0x10]
mov byte [esp + 0x138], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41459d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41465d
mov bl, 1
push 0x100
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.00417b9e
test bl, bl
mov esi, eax
je 0x4145e1
xor eax, eax
test esi, esi
jbe 0x4145e1
jmp 0x4145d0
mov dl, byte [eax + 0x4442d0]
xor byte [esp + eax + 0x2c], dl
add eax, 1
cmp eax, esi
jb 0x4145d0
push esi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00414320
test esi, esi
jne 0x4145a6
lea ecx, [esp + 0x1c]
call fcn.00417e2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.00417f8c
lea eax, [ebp - 0x10]
mov byte [esp + 0x138], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41465b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004213c3
add esp, 0x128
ret