Function at 0x402610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b22d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x577018]
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 esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x24
mov dword [ebp - 0x40], 0
push str.8ba850cf_948e_4f70_b9d0_a0d20c135b9f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00402bc0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 1
jae 0x4026c7
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x14], 0xf
push 0x5581b4
mov byte [esi], 0
call fcn.00402bc0
lea ecx, [ebp - 0x40]
call fcn.004028f0
lea ecx, [ebp + 8]
call fcn.004028f0
jmp 0x402859
lea edx, [ebp - 0x44]
lea ecx, [ebp + 8]
call fcn.00402000
mov ecx, dword [ebp - 0x44]
mov edi, eax
cmp ecx, 1
jb 0x40267f
push ecx
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00402bc0
push edi
mov byte [ebp - 4], 2
call fcn.0051e914
mov edx, dword [ebp - 0x40]
add esp, 4
cmp dword [ebp - 0x18], 0
jbe 0x40275e
xor esi, esi
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov eax, esi
cmovae ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, edx
xor edx, edx
div dword [ebp - 0x30]
mov al, byte [edx + ecx]
add edx, ecx
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
xor al, byte [ebx + esi]
mov byte [ecx + esi], al
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x402720
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp ebx, 0x10
cmovae eax, edi
movsx ecx, byte [eax]
sub ecx, 0x20
lea eax, [ecx - 1]
cmp eax, 0x63
ja 0x402794
push ecx
push 1
push esi
lea ecx, [ebp - 0x28]
call fcn.00402880
lea ecx, [ebp - 0x28]
call fcn.004028f0
jmp 0x4026b2
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0
push 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x5581b4
mov byte [esi], 0
call fcn.00402bc0
cmp ebx, 0x10
jb 0x4027f7
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4027ed
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402877
push ecx
push edi
call fcn.00517162
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x402829
mov ecx, dword [ebp - 0x40]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40281f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402877
push edx
push ecx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x402859
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40284f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402877
push ecx
push edx
call fcn.00517162
add esp, 8
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.00517154
mov esp, ebp
pop ebp
ret
call fcn.0051eb64
int3