Function at 0x40816c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea ebx, [ebp - 0x58]
mov eax, 0x462374
call fcn.004533cc
mov dword [ebx + 0x1c], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0045d3b8
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov word [ebx + 0x10], 8
lea eax, [ebp - 8]
call fcn.0045d3b8
inc dword [ebx + 0x1c]
push 0x44
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.0045300c
add esp, 0xc
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0x44
push 0x10
push 0
push ecx
call fcn.0045300c
mov word [ebx + 0x10], 0x14
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
inc dword [ebx + 0x1c]
mov eax, dword [esi + 0x334]
call fcn.0044885c
lea edx, [ebp - 0x10]
push edx
mov edx, str.AsusSetup64.exe
lea eax, [ebp - 0x14]
call fcn.0045d380
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0xc]
pop eax
call fcn.0045d4a8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0045d450
mov word [ebx + 0x10], 8
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0xa0]
push ecx
push eax
mov word [ebx + 0x10], 0x20
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044885c
cmp dword [ebp - 0x18], 0
je 0x408282
mov ecx, dword [ebp - 0x18]
jmp 0x408287
mov ecx, 0x45ff16
push ecx
push 0
push 0x8000000
push 0
push 0
push 0
mov edx, 0x45ff11
lea eax, [ebp - 0x1c]
call fcn.0045d380
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0045d4a8
lea eax, [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x24]
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
call fcn.0045d4a8
lea eax, [ebp - 0x24]
push eax
mov edx, 0x45ff13
lea eax, [ebp - 0x28]
call fcn.0045d380
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x2c]
pop eax
call fcn.0045d4a8
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x30]
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
call fcn.0045d4a8
cmp dword [ebp - 0x30], 0
je 0x40831a
mov eax, dword [ebp - 0x30]
jmp 0x40831f
mov eax, 0x45ff15
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov edi, eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0045d450
test edi, edi
jne 0x40840e
mov word [ebx + 0x10], 0x2c
mov edx, str.Creating_AsusSetup64.exe_process_faild.
lea eax, [ebp - 0x34]
call fcn.0045d380
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, esi
call fcn.00408c1c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0045d450
call sub.KERNEL32.DLL_GetLastError
push eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0045d450
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x40846d
push 0x1d4c0
mov ecx, dword [ebp - 0xb0]
push ecx
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0xb0]
push edx
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
mov edx, 2
push eax
lea eax, [ebp - 0xc]
dec dword [ebx + 0x1c]
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0045d450
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret