Function at 0x49a442
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resolve function by parsing pe exports
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x534
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x38]
push edi
xor eax, eax
cmp esi, ebx
mov ecx, 0x132
lea edi, [esp + 0x78]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x60], ebx
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
stosd dword es:[edi], eax
jne 0x49a486
lea esi, [esp + 0x60]
mov dl, byte [0x4db835]
cmp dl, 4
jne 0x49a4a3
mov eax, dword [ebp + 0xc]
add eax, 0x34
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x3c], ebx
jmp 0x49a4b6
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x28]
mov dword [esp + 0x28], eax
movzx eax, byte [0x4db83e]
lea eax, [esp + eax + 0x70]
mov dword [esp + 0x2c], ebx
movzx ebx, byte [0x4db83f]
mov dword [esp + 0x58], eax
xor ecx, ecx
mov eax, edi
add eax, dword [esp + 0x28]
lea ebx, [esp + ebx + 0x70]
adc ecx, dword [esp + 0x2c]
cmp dl, 4
mov dword [esp + 0x54], ebx
mov dword [ebx], eax
je 0x49a4f8
mov dword [ebx + 4], ecx
mov ebx, dword [ebp + 0x3c]
mov ax, word [ebx]
cmp ax, 0x3e
jne 0x49a506
inc ebx
inc ebx
cmp byte [0x4db835], 8
jne 0x49a540
cmp ax, 0x3e
jne 0x49a540
cmp word [ebx], 0
je 0x49a540
push 0x14000
lea ecx, [esp + 0x28]
call fcn.00444f8a
push dword [esp + 0x24]
push edi
push ebx
call fcn.0049a231
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0043e825
push ebx
push esi
push dword [ebp + 0x34]
lea eax, [esp + 0x54]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x98]
push eax
push dword [ebp + 8]
call fcn.0049a352
add esp, 0x30
cmp byte [0x4db835], 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
jne 0x49a58f
mov eax, dword [eax]
and dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
jmp 0x49a59c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x28]
xor eax, eax
cmp dword [esi], 0xffffffff
mov dword [esp + 0x24], ebx
jne 0x49a5af
mov dword [esi], eax
cmp dword [esi + 4], 0xffffffff
jne 0x49a5b8
mov dword [esi + 4], eax
cmp dword [esp + 0x44], eax
jle 0x49a86e
mov dl, byte [0x4db835]
cmp dl, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
jne 0x49a622
cmp dword [esp + 0x38], ecx
jne 0x49a622
mov edi, dword [esp + 0x3c]
cmp edi, dword [esp + 0x2c]
jne 0x49a622
mov edi, dword [esp + 0x4c]
cmp edi, eax
jb 0x49a622
mov eax, dword [esp + 0x48]
ja 0x49a600
cmp eax, dword [ebp + 0x1c]
jb 0x49a622
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x5c]
push edx
push 0x40
push eax
push ecx
push dword [esi]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x49a73a
cmp dword [0x4dddb4], 0
je 0x49a846
cmp dl, 4
mov edi, 0x3000
jne 0x49a679
push dword [esp + 0x2c]
push ecx
push dword [esi]
call fcn.0049a1ef
add esp, 0xc
test eax, eax
je 0x49a667
push 0x40
push edi
push dword [ebp + 0x1c]
push dword [esp + 0x44]
push dword [esi]
call dword [0x4dddb4]
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
jne 0x49a748
mov ecx, dword [esp + 0x28]
push dword [ebp + 0xc]
call fcn.0049a0fe
add esp, 4
test eax, eax
je 0x49a846
cmp byte [0x4db835], 4
jne 0x49a6a8
push 0x40
push edi
push dword [ebp + 0x1c]
push 0
push dword [esi]
call dword [0x4dddb4]
cdq
jmp 0x49a715
push dword [esp + 0x2c]
push ecx
push dword [esi]
call fcn.0049a1ef
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
sub eax, ecx
add eax, dword [esp + 0xfc]
add esp, 0xc
add eax, 0xfffff
xor ebx, ebx
and dword [esp + 0x4c], ebx
and eax, 0xfff00000
sub ecx, eax
sbb edx, dword [esp + 0x4c]
push 0x40
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x1c]
push edi
lea eax, [edx + eax*2]
push eax
push ecx
push dword [esi]
mov dword [esp + 0x2c], ecx
call dword [0x4dddb4]
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0xf4]
sbb edx, ebx
mov ebx, dword [esp + 0x24]
mov ecx, eax
or ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x49a846
push edx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.0049a136
add esp, 0x14
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x49a846
and dword [esp + 0x24], 0
cmp byte [0x4db835], 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jne 0x49a78a
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x24]
push ecx
push 4
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
push dword [esi]
call edi
cmp byte [0x4db835], 4
jne 0x49a78a
mov eax, dword [esp + 0x34]
jmp 0x49a795
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ecx
push dword [esi]
call edi
test eax, eax
je 0x49a83f
mov cl, byte [0x4db835]
cmp cl, 4
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jne 0x49a7e4
cmp edi, dword [esp + 0x28]
jne 0x49a7e4
cmp edx, dword [esp + 0x2c]
jne 0x49a7e4
xor eax, eax
add ebx, dword [esp + 0x38]
adc eax, dword [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x4c], eax
jmp 0x49a7f1
xor eax, eax
add ebx, edi
adc eax, edx
cmp cl, 4
mov edx, ebx
jne 0x49a7f9
mov eax, dword [esp + 0x54]
mov dword [eax], edx
jmp 0x49a802
mov ecx, dword [esp + 0x54]
mov dword [ecx], edx
mov dword [ecx + 4], eax
cmp byte [0x4db835], 4
jne 0x49a819
lea eax, [esp + 0x70]
push eax
push dword [esi + 4]
call dword [0x4dddb0]
test byte [ebp + 0x24], 4
jne 0x49a828
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x38], 0
jne 0x49a86e
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
jmp 0x49a86e
or dword [esp + 0x44], 0xffffffff
jmp 0x49a84e
mov dword [esp + 0x44], 0xfffffffe
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
and dword [esi + 4], 0
push dword [esi]
call edi
and dword [esi], 0
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret