Function at 0x463790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32b
push 0
push 0
dec ecx
jne 0x463798
push ebx
push esi
push edi
mov eax, 0x462b5c
call fcn.00407900
xor eax, eax
push ebp
push 0x4645a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4645c4
call fcn.0040b270
test al, al
jne 0x4637d7
mov eax, 0x4645c4
call fcn.00462a90
jmp 0x464588
mov dl, 1
mov eax, dword [0x417614]
call fcn.00403ac4
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x94], eax
xor eax, eax
push ebp
push 0x463817
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x466a08]
movzx eax, byte [eax]
mov byte [ebp - 0x95], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463826
cmp byte [ebp - 0x95], 0x5a
jne 0x4639e9
mov dword [ebp - 0x9c], 0x466ac0
lea eax, [ebp - 0x48]
xor edx, edx
call fcn.004055a8
mov eax, 2
mov edx, eax
sub edx, eax
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [ecx + edx]
imul edx, eax
inc edx
mov dword [ebp - 0xa4], edx
lea edx, [eax + 1]
cmp edx, dword [ebp - 0xa4]
jg 0x4639d9
cmp dword [ebp - 0xa4], 0xff
jg 0x4639d9
mov edx, eax
sub edx, eax
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa8]
movzx edx, byte [edx + ecx]
mov dword [ebp - 0xa4], edx
movzx edx, byte [ebp - 0xa8]
mov byte [ebp - 0xa9], dl
mov edx, eax
sub edx, eax
add edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
dec ecx
sub ecx, edx
jl 0x46394b
inc ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp + edx - 0x258]
add dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0xa8]
cmp byte [edx + ebx], 1
jne 0x463918
mov edx, eax
dec edx
mov ebx, dword [ebp - 0xa8]
sub ebx, edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + ebx]
add byte [ebp - 0xa9], dl
jmp 0x463933
mov edx, eax
dec edx
mov ebx, dword [ebp - 0xa8]
sub ebx, edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + ebx]
sub byte [ebp - 0xa9], dl
movzx edx, byte [ebp - 0xa9]
mov byte [ecx], dl
inc dword [ebp - 0xa0]
inc ecx
dec dword [ebp - 0xb0]
jne 0x4638e3
mov edx, eax
sub dl, al
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x258], dl
mov dword [ebp - 0xb4], 2
xor ebx, ebx
lea ecx, [ebp - 0x458]
lea eax, [ebp - 0x258]
cmp byte [eax + ebx], 0
je 0x4639a5
lea eax, [ebp - 0x258]
movzx eax, byte [eax + ebx]
lea edx, [ebx + 1]
add eax, edx
cdq
idiv dword [ebp - 0xb4]
mov edx, ebx
inc edx
add ax, dx
mov word [ecx], ax
inc ebx
add ecx, 2
cmp ebx, 0x100
jne 0x46396e
movzx eax, word [ebp - 0xb4]
sub ax, word [ebp - 0xb4]
mov word [ebp + ebx*2 - 0x458], ax
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x458]
mov ecx, pe_nt_image_headers32
call fcn.0040570c
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
call fcn.004055a8
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x48]
call fcn.004055a8
jmp 0x463b9a
mov dword [ebp - 0xb8], 0x466aa0
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.004055a8
mov eax, 2
mov edx, eax
sub edx, eax
mov ecx, dword [ebp - 0xb8]
movzx edx, byte [ecx + edx]
imul edx, eax
inc edx
mov dword [ebp - 0xc0], edx
lea edx, [eax + 1]
cmp edx, dword [ebp - 0xc0]
jg 0x463b8f
cmp dword [ebp - 0xc0], 0xff
jg 0x463b8f
mov edx, eax
sub edx, eax
mov dword [ebp - 0xc4], edx
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc4]
movzx edx, byte [edx + ecx]
mov dword [ebp - 0xc0], edx
movzx edx, byte [ebp - 0xc4]
mov byte [ebp - 0xc5], dl
mov edx, eax
sub edx, eax
add edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc0]
dec ecx
sub ecx, edx
jl 0x463b01
inc ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xbc], edx
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp + edx - 0x558]
add dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc4]
cmp byte [edx + ebx], 1
jne 0x463ace
mov edx, eax
dec edx
mov ebx, dword [ebp - 0xc4]
sub ebx, edx
mov edx, dword [ebp - 0xb8]
movzx edx, byte [edx + ebx]
add byte [ebp - 0xc5], dl
jmp 0x463ae9
mov edx, eax
dec edx
mov ebx, dword [ebp - 0xc4]
sub ebx, edx
mov edx, dword [ebp - 0xb8]
movzx edx, byte [edx + ebx]
sub byte [ebp - 0xc5], dl
movzx edx, byte [ebp - 0xc5]
mov byte [ecx], dl
inc dword [ebp - 0xbc]
inc ecx
dec dword [ebp - 0xcc]
jne 0x463a99
mov edx, eax
sub dl, al
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0x558], dl
mov dword [ebp - 0xd0], 2
xor ebx, ebx
lea ecx, [ebp - 0x758]
lea eax, [ebp - 0x558]
cmp byte [eax + ebx], 0
je 0x463b5b
lea eax, [ebp - 0x558]
movzx eax, byte [eax + ebx]
lea edx, [ebx + 1]
add eax, edx
cdq
idiv dword [ebp - 0xd0]
mov edx, ebx
inc edx
add ax, dx
mov word [ecx], ax
inc ebx
add ecx, 2
cmp ebx, 0x100
jne 0x463b24
movzx eax, word [ebp - 0xd0]
sub ax, word [ebp - 0xd0]
mov word [ebp + ebx*2 - 0x758], ax
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x758]
mov ecx, pe_nt_image_headers32
call fcn.0040570c
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x54]
call fcn.004055a8
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x50]
call fcn.004055a8
mov eax, dword [ebp - 0x44]
call fcn.0040b270
test al, al
jne 0x463bb3
mov eax, dword [ebp - 0x44]
call fcn.00462a90
jmp 0x463eba
xor edi, edi
push ebp
push 0x463bdc
push dword fs:[edi]
mov dword fs:[edi], esp
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
call fcn.0041bf34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463eb0
mov dword [ebp - 0x94], 0xffffffff
cmp dword [ebp - 0x94], 0
jne 0x463ed3
mov eax, dword [ebp - 0x90]
call fcn.00403af4
jmp 0x464588
xor edi, edi
push ebp
push 0x463f74
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax + 4]
push 0
push 8
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
call dword [edx]
call fcn.004066e4
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xfc]
dec eax
test eax, eax
jb 0x463f67
inc eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 0
mov eax, ecx
add eax, eax
add eax, eax
add eax, eax
add eax, ebx
sub eax, 8
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov esi, ecx
add esi, esi
add esi, esi
add esi, esi
add esi, ebx
xor eax, dword [esi]
xor edx, dword [esi + 4]
mov esi, ecx
add esi, esi
add esi, esi
add esi, esi
add esi, ebx
sub esi, 8
mov dword [esi], eax
mov dword [esi + 4], edx
dec ecx
inc dword [ebp - 0x104]
dec dword [ebp - 0x108]
jne 0x463f25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464256
xor edi, edi
push ebp
push 0x4642a5
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
mov edx, dword [0x466b50]
mov dword [edx], eax
mov eax, 1
call fcn.00461dec
call fcn.004624dc
mov eax, 2
call fcn.00461dec
push 0x4645e4
call sub.kernel32.dll_LoadLibraryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46457d
mov eax, dword [ebp - 0x90]
call fcn.00403af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4645ad
lea eax, [ebp - 0x84]
mov edx, 0x11
call fcn.0040554c
ret