Function at 0x46e060
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564048
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5c524c]
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 eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x51]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x51], 0
call fcn.0046ead0
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x3c], 7
xor eax, eax
mov word [ebp - 0x50], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e0d6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0041cb00
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x46e21b
mov byte [ebp - 0x20], 0xf3
xor edx, edx
mov byte [ebp - 0x1f], 0xc1
mov edi, 0xf
mov byte [ebp - 0x1e], 0xc7
mov byte [ebp - 0x1d], 0xc0
mov byte [ebp - 0x1c], 0xcb
mov byte [ebp - 0x1b], 0xe2
mov byte [ebp - 0x1a], 0xdf
mov byte [ebp - 0x19], 0xc7
mov byte [ebp - 0x18], 0xc9
mov byte [ebp - 0x17], 0xd6
mov byte [ebp - 0x16], 0xd4
mov byte [ebp - 0x15], 0xc1
mov byte [ebp - 0x14], 0xf0
mov byte [ebp - 0x13], 0xaa
mov al, byte [ebp - 0x20]
mov dword [ebp - 0x58], edx
mov bl, byte [ebp + edx - 0x20]
mov ecx, edx
and ecx, edi
mov eax, 0xbf0196a2
cmp ecx, edi
mov edx, 0xa2599c80
cmovae ecx, edi
shl ecx, 2
call fcn.00472c80
mov edx, dword [ebp - 0x58]
and al, 0xf
lea ecx, [edx - 0x5e]
xor al, cl
xor al, bl
mov byte [ebp + edx - 0x20], al
inc edx
mov dword [ebp - 0x58], edx
cmp edx, 0xe
jb 0x46e157
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x5c]
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e1a6
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0041ca10
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x24]
mov esi, eax
cmp edx, 0x10
jb 0x46e205
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46e1fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e28b
push edx
push ecx
call fcn.004729bf
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test esi, esi
jne 0x46e221
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push edi
call esi
mov edx, dword [ebp - 0x3c]
mov esi, eax
cmp edx, 8
jb 0x46e26b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e261
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e290
push edx
push ecx
call fcn.004729bf
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.0047285d
mov esp, ebp
pop ebp
ret 0x18
call fcn.00522b89
call fcn.00522b89
int3