Function at 0x4b72fc
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b75e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.0040794c
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b6d24
cmp al, 1
je 0x4b75b7
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4b75b7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4b738b
mov eax, dword [ebp - 0x38]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, eax
inc eax
mov dword [ebp - 0x18], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b73cb
cmp dword [ebp - 0x1c], 0
je 0x4b75b7
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b75b7
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b73ed
push 0x4b75f0
push 0x4b7614
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c8f8
mov dword [ebp - 0x30], eax
push 0x4b7620
push 0x4b763c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c8f8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b75b7
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b7423
cmp dword [ebp - 0x30], 0
je 0x4b75b7
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_WriteProcessMemory
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4b7477
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualFreeEx
cmp dword [ebp - 0x1c], 0
je 0x4b75b7
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b75b7
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b74af
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0x2000000
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
je 0x4b74bf
call fcn.0048e0f8
cmp eax, 0x3c
jae 0x4b74dd
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4b7545
lea eax, [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x50]
call fcn.00421d4c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x4c]
mov ecx, 1
mov eax, 0x4b765c
call fcn.0041d8ac
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.0049ac74
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualFreeEx
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b75b7
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x58]
call fcn.00421d4c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x4c]
mov ecx, 1
mov eax, 0x4b76c8
call fcn.0041d8ac
mov eax, dword [ebp - 0x54]
xor edx, edx
call fcn.0049ac74
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0x1c], 0
je 0x4b75a4
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x20], 0
je 0x4b75b3
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b75e9
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00407584
lea eax, [ebp - 0x3c]
call fcn.00407524
lea eax, [ebp - 0x34]
call fcn.00407524
ret