Function at 0x480701
Capabilities:
Create process on windows
Execute command

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x58028c]
test eax, eax
jne 0x48100b
mov eax, dword [0x690b4c]
test eax, eax
je 0x48072f
mov dword [esp], 0x106
call fcn.0045ba38
jmp 0x48100c
mov eax, dword [0x6b0428]
mov dword [0xa40178], eax
mov eax, dword [0xa40178]
test eax, eax
je 0x48076b
mov dword [0x534570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b0428]
test eax, eax
setne al
test al, al
jne 0x48074c
mov dword [0xa4017c], 0
mov eax, dword [0x690c4c]
test eax, eax
je 0x480791
mov eax, dword [0x5342dc]
test eax, eax
je 0x480791
mov dword [0xa4017c], 1
mov eax, dword [0xa40180]
test eax, eax
jne 0x4807b3
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa40180], eax
mov eax, dword [0xa40184]
test eax, eax
jne 0x4807d5
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa40184], eax
mov eax, dword [0xa40188]
test eax, eax
jne 0x4807f7
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa40188], eax
mov eax, dword [0xa4018c]
test eax, eax
jne 0x480819
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa4018c], eax
mov eax, dword [0xa40190]
test eax, eax
jne 0x48083b
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045d152
mov dword [0xa40190], eax
cmp dword [ebp + 0xc], 0
je 0x480852
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x480852
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x480f5e
mov eax, dword [0xa4017c]
test eax, eax
je 0x4808c3
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [0xa2b730], 1
mov eax, dword [0xa40180]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa2b730], 0
jmp 0x480fd7
call fcn.0047e9f5
test eax, eax
setne al
test al, al
je 0x480df7
mov eax, dword [0xa40184]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp], 0x5491e6
call fcn.0045cf3e
mov edx, eax
mov eax, dword [0xa4018c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov eax, dword [0xa40184]
mov eax, dword [eax + 4]
test eax, eax
je 0x480fca
mov eax, dword [0xa40184]
mov dword [esp], eax
call fcn.0047eb08
test eax, eax
sete al
test al, al
je 0x480a1b
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40188]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa401a0
call sub.msvcrt.dll_memset
mov dword [0xa401a0], 0x3c
mov eax, dword [0xa40188]
mov eax, dword [eax]
mov dword [0xa401b0], eax
mov dword [0xa401b4], 0
mov dword [0xa401a4], 0x440
mov dword [0xa401bc], 5
mov dword [esp], 0xa401a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x480a1b
mov dword [0xa2b730], 1
mov eax, dword [0xa401d8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa401d8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2b730], 0
jmp 0x480fd7
mov dword [0xa401dc], 0
mov dword [0xa401e0], 0
jmp 0x480af9
mov eax, dword [0xa40184]
mov edx, dword [eax]
mov eax, dword [0xa401dc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x480a68
mov eax, dword [0xa401e0]
test eax, eax
jne 0x480a5e
mov dword [0xa401e0], 1
jmp 0x480a68
mov dword [0xa401e0], 0
mov eax, dword [0xa40184]
mov edx, dword [eax]
mov eax, dword [0xa401dc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x480aec
mov eax, dword [0xa401e0]
test eax, eax
jne 0x480aec
mov eax, dword [0xa40184]
mov edx, dword [eax + 4]
mov eax, dword [0xa401dc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045dec7
mov edx, eax
mov eax, dword [0xa4018c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov edx, dword [0xa401dc]
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045ddff
mov edx, eax
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
jmp 0x480b13
mov eax, dword [0xa401dc]
add eax, 1
mov dword [0xa401dc], eax
mov eax, dword [0xa40184]
mov edx, dword [eax + 4]
mov eax, dword [0xa401dc]
cmp edx, eax
setg al
test al, al
jne 0x480a34
mov eax, dword [0xa40184]
mov eax, dword [eax + 4]
test eax, eax
je 0x480fcd
mov eax, dword [0xa4018c]
mov eax, dword [eax + 4]
test eax, eax
je 0x480c72
mov eax, dword [0xa40184]
mov dword [esp], eax
call fcn.0047eb08
test eax, eax
sete al
test al, al
je 0x480c72
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40188]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa4018c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40190]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa401a0
call sub.msvcrt.dll_memset
mov dword [0xa401a0], 0x3c
mov eax, dword [0xa40188]
mov eax, dword [eax]
mov dword [0xa401b0], eax
mov eax, dword [0xa40190]
mov eax, dword [eax]
mov dword [0xa401b4], eax
mov dword [0xa401a4], 0x440
mov dword [0xa401bc], 5
mov dword [esp], 0xa401a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x480c72
mov dword [0xa2b730], 1
mov eax, dword [0xa401d8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa401d8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2b730], 0
jmp 0x480fd7
mov eax, dword [0xa4018c]
mov eax, dword [eax + 4]
test eax, eax
je 0x480caf
mov ebx, dword [0xa4018c]
mov dword [esp], 0x5505da
call fcn.0045cf3e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa4018c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov edx, dword [0xa4018c]
mov eax, dword [0xa40184]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov ebx, dword [0xa40180]
mov dword [esp], str.__c
call fcn.0045cf3e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa401a0
call sub.msvcrt.dll_memset
mov dword [0xa401a0], 0x3c
mov dword [0xa401b0], 0x534936
mov eax, dword [0xa40180]
mov eax, dword [eax]
mov dword [0xa401b4], eax
mov dword [0xa401a4], 0x440
mov dword [0xa401bc], 5
mov dword [esp], 0xa401a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x480fd0
mov dword [0xa2b730], 1
mov eax, dword [0xa401d8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa401d8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2b730], 0
jmp 0x480fd7
mov dword [esp], str.command.com__c
call fcn.0045cf3e
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 4], 1
mov dword [esp], 0x550567
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045da7d
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa40200
call sub.msvcrt.dll_memset
mov dword [0xa40200], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa40244
call sub.msvcrt.dll_memset
mov eax, dword [0xa40180]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa40244
mov dword [esp + 0x20], 0xa40200
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x480fd3
mov dword [0xa2b730], 1
mov eax, dword [0xa40244]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa40244]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa40248]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2b730], 0
jmp 0x480fd7
mov eax, dword [0xa4017c]
test eax, eax
jne 0x480f6e
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x55092c
call fcn.0045cfcf
mov edx, eax
mov eax, dword [0xa40180]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2b9
mov dword [0xa2b730], 1
mov eax, dword [0xa40180]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa2b730], 0
mov eax, dword [0xa4017c]
test eax, eax
jne 0x480fd6
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x480fd6
nop
jmp 0x480fd7
nop
jmp 0x480fd7
nop
jmp 0x480fd7
nop
jmp 0x480fd7
nop
mov eax, dword [0xa40178]
test eax, eax
je 0x48100c
mov eax, dword [0xa40178]
mov dword [0x534570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b0428]
test eax, eax
sete al
test al, al
jne 0x480fea
jmp 0x48100c
nop
mov ebx, dword [ebp - 4]
leave
ret