Function at 0x40283a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 8], ebx
call fcn.00410cbe
mov esi, eax
push esi
mov dword [ebp - 0x3c], esi
call fcn.00413c12
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
call fcn.00413c12
push 0x20
push esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 2], bl
mov dword [ebp - 0x4c], ebx
call fcn.00413cab
push 0x44
pop edi
test eax, eax
push edi
lea eax, [ebp - 0xac]
push ebx
push eax
setne byte [ebp - 1]
mov dword [ebp - 0x10], ebx
call sub.msvcrt.dll_memset
mov dword [ebp - 0xac], edi
xor eax, eax
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 2]
push eax
push str.require_administrator
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x50], 1
call fcn.004012e5
mov al, byte [ebp - 2]
cmp al, bl
mov byte [ebp - 0xa], al
sete al
mov byte [ebp - 9], al
lea eax, [ebp - 0xa]
push eax
push str.mount_system_visible
call fcn.004012e5
lea eax, [ebp - 9]
push eax
push str.process_visible
call fcn.004012e5
add esp, 0x34
cmp byte [ebp - 0xa], bl
je 0x402918
mov dword [ebp - 0x4c], 2
push str.run_exe
call fcn.004012b4
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x402938
push str.autorun.exe
call fcn.0041381d
pop ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
push str.verify_media
mov byte [ebp - 0x44], bl
call fcn.004012e5
pop ecx
pop ecx
cmp byte [ebp - 2], bl
je 0x402986
cmp byte [0x41f1e4], bl
jne 0x402986
push dword [0x41f04c]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 8], 5
call fcn.00410421
pop ecx
pop ecx
push 0x30
push esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x402c46
push ebx
push 0x270
push ebx
push 4
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x4029b5
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402c46
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 1
push ebx
lea eax, [ebp - 0x30]
push eax
call esi
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4029e4
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402c46
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x402a05
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402c46
push ebx
push ebx
push 1
push ebx
call esi
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x402a20
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402c46
push ebx
push ebx
push ebx
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
jne 0x402a3b
call edi
mov dword [ebp - 8], eax
jmp 0x402a9b
push 0x270
push ebx
push esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
lea eax, [esi + 0x14]
push eax
push str.run_relative
mov byte [eax], 1
call fcn.004012e5
push dword [ebp - 0x24]
call fcn.00413bf9
add esp, 0x18
test al, al
mov eax, 0x419cd0
jne 0x402a80
mov eax, dword [ebp - 0x24]
push eax
lea eax, [esi + 0x16]
push 0x12c
push eax
call fcn.00413c30
add esp, 0xc
xor eax, eax
mov word [esi + 0x26c], ax
cmp dword [ebp - 8], ebx
jne 0x402c3b
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0x38]
lea eax, [eax + eax + 0x2e]
push eax
call sub.msvcrt.dll_malloc
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x402acf
mov dword [ebp - 8], 0xe
jmp 0x402c3b
xor edi, edi
cmp byte [ebp - 1], bl
je 0x402add
push 0x22
pop ecx
mov word [eax], cx
inc edi
push dword [ebp - 0x3c]
lea eax, [eax + edi*2]
push eax
call fcn.00413c66
add edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 1], bl
je 0x402afe
push 0x22
pop ecx
mov word [eax + edi*2], cx
inc edi
push 0x20
pop ecx
mov word [eax + edi*2], cx
inc edi
lea eax, [eax + edi*2]
push str.:_PT_SMX_:
push eax
call fcn.00413c66
pop ecx
pop ecx
push 0x20
add edi, 0xc
pop ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sub ecx, 4
shr eax, cl
and eax, 0xf
add eax, 0x41
mov word [edx + edi*2], ax
inc edi
cmp ecx, ebx
jne 0x402b1c
push 0x20
pop ecx
push dword [ebp + 8]
mov eax, edx
mov word [eax + edi*2], cx
inc edi
lea eax, [eax + edi*2]
push eax
call fcn.00413c66
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
add edi, eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax + edi*2], cx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402b8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402c3b
cmp byte [ebp - 9], bl
je 0x402b95
mov eax, dword [ebp - 0x60]
jmp 0x402b98
or eax, 0xffffffff
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
call fcn.004023c9
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
add esp, 0x1c
push dword [ebp - 0x14]
mov dword [esi + 0x10], eax
call edi
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x10]
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
call edi
push dword [ebp - 0x64]
call fcn.00401453
push dword [ebp - 0x68]
call fcn.00401453
pop ecx
pop ecx
cmp dword [ebp - 8], ebx
jne 0x402c0f
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x402c1f
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
pop ecx
pop ecx
cmp dword [ebp - 0x28], ebx
je 0x402c3b
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x65
push 0x222000
push dword [ebp - 0x28]
call fcn.004013f7
add esp, 0x20
cmp esi, ebx
je 0x402c46
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x1c]
call fcn.00401453
push dword [ebp - 0x14]
call fcn.00401453
push dword [ebp - 0x20]
call fcn.00401453
push dword [ebp - 0x30]
call fcn.00401453
push dword [ebp - 0x2c]
call fcn.00401453
push dword [ebp - 0x28]
call fcn.00401453
mov eax, dword [ebp - 0x34]
add esp, 0x18
cmp eax, ebx
je 0x402c87
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
pop ecx
cmp dword [ebp - 0x18], ebx
pop edi
pop esi
pop ebx
je 0x402c9a
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18]
call fcn.00401453
push dword [ebp - 0x10]
call fcn.0041273e
push dword [ebp - 0x24]
call fcn.0041273e
lea eax, [ebp - 0x40]
push eax
call fcn.00410024
mov eax, dword [ebp - 8]
add esp, 0x10
leave
ret