Function at 0x426300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9670
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x524ee0]
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, ecx
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 1
call fcn.00427040
cmp dword [eax], 0
jne 0x4263f8
call fcn.00428410
test al, al
jne 0x4263e3
mov edx, dword [0x526340]
xor esi, esi
mov edi, edi
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
inc esi
add edx, eax
cmp esi, 0x100
jl 0x426360
mov dword [0x526340], edx
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.00427120
mov byte [eax], 0
xor esi, esi
jmp 0x426508
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00401330
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401330
cmp byte [ebp + 0x38], 0
mov byte [ebp - 4], 3
jne 0x426456
push 0x57
push 1
lea ecx, [ebp - 0x28]
call fcn.004276a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp + 8]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
lea ecx, [edi + 8]
call fcn.00427040
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4264c2
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.00427120
mov byte [eax], 0
cmp dword [ebp - 0x14], 0x10
jb 0x42649b
push dword [ebp - 0x28]
call fcn.004a831e
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4264be
push dword [ebp - 0x40]
call fcn.004a831e
add esp, 4
xor esi, esi
jmp 0x426508
cmp dword [ebp - 0x14], 0x10
jb 0x4264d3
push dword [ebp - 0x28]
call fcn.004a831e
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
jb 0x4264fa
push dword [ebp - 0x40]
call fcn.004a831e
add esp, 4
lea eax, [ebp + 0x20]
push eax
mov ecx, edi
call fcn.00427120
mov byte [eax], 1
cmp dword [ebp + 0x1c], 0x10
jb 0x426519
push dword [ebp + 8]
call fcn.004a831e
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x42653c
push dword [ebp + 0x20]
call fcn.004a831e
add esp, 4
mov eax, esi
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.004a8b24
mov esp, ebp
pop ebp
ret 0x34