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

Disassembly:
push 0xffffffffffffffff
push 0x4553d8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x46fb88]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46fb88]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov ebx, dword [esp + 0x294]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
xor edi, edi
push ecx
push ebx
mov dword [esp + 0x294], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x24]
push edx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x419ff7
push 4
push 0x1000
push 0x40
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push esi
call edi
push 4
push 0x1000
push 0x200
push 0
push esi
mov ebp, eax
call edi
push 4
push 0x1000
push 0x10
push 0
push esi
mov dword [esp + 0x28], eax
call edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x419ff0
test ebp, ebp
je 0x419ff0
mov eax, dword [esp + 0x14]
push 0
push 0
cdq
push 0x1004
push ebx
mov dword [esp + 0x50], 1
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x419fc1
push 0
push 0x40
lea eax, [esp + 0x48]
push eax
push ebp
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebp
push edi
push 0x102d
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
push 0
push 0x200
lea ecx, [esp + 0x88]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401710
mov ecx, dword [esp + 0x298]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x419f49
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043bd37
add esp, 8
test eax, eax
sete al
test al, al
jne 0x419f53
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419f3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x419e9c
jmp 0x419fc1
push 0x80004005
call fcn.00401150
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push 0x100e
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
push 0
push 0x10
lea edx, [esp + 0x38]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419fc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push ebp
push esi
call edi
mov ecx, dword [esp + 0x14]
push 0x8000
push 0
push ecx
push esi
call edi
mov edx, dword [esp + 0x1c]
push 0x8000
push 0
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x298]
add eax, 0xfffffff0
mov dword [esp + 0x28c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a025
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x27c
ret 0xc