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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x51f26c]
test eax, eax
jne 0x43986c
mov eax, dword [0x62fb2c]
test eax, eax
je 0x438f90
mov dword [esp], 0x106
call fcn.00414c58
jmp 0x43986d
mov eax, dword [0x70d000]
mov dword [0xa9ce18], eax
mov eax, dword [0xa9ce18]
test eax, eax
je 0x438fcc
mov dword [0x4e6534], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70d000]
test eax, eax
setne al
test al, al
jne 0x438fad
mov dword [0xa9ce1c], 0
mov eax, dword [0x62fb60]
test eax, eax
je 0x438ff2
mov eax, dword [0x4e629c]
test eax, eax
je 0x438ff2
mov dword [0xa9ce1c], 1
mov eax, dword [0xa9ce20]
test eax, eax
jne 0x439014
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004163b3
mov dword [0xa9ce20], eax
mov eax, dword [0xa9ce24]
test eax, eax
jne 0x439036
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004163b3
mov dword [0xa9ce24], eax
mov eax, dword [0xa9ce28]
test eax, eax
jne 0x439058
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004163b3
mov dword [0xa9ce28], eax
mov eax, dword [0xa9ce2c]
test eax, eax
jne 0x43907a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004163b3
mov dword [0xa9ce2c], eax
mov eax, dword [0xa9ce30]
test eax, eax
jne 0x43909c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004163b3
mov dword [0xa9ce30], eax
cmp dword [ebp + 0xc], 0
je 0x4390b3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4390b3
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x4397bf
mov eax, dword [0xa9ce1c]
test eax, eax
je 0x439124
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [0xa881d8], 1
mov eax, dword [0xa9ce20]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa881d8], 0
jmp 0x439838
call fcn.00437315
test eax, eax
setne al
test al, al
je 0x439658
mov eax, dword [0xa9ce24]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp], 0x4f06f6
call fcn.0041619f
mov edx, eax
mov eax, dword [0xa9ce2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov eax, dword [0xa9ce24]
mov eax, dword [eax + 4]
test eax, eax
je 0x43982b
mov eax, dword [0xa9ce24]
mov dword [esp], eax
call fcn.00437428
test eax, eax
sete al
test al, al
je 0x43927c
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ce40
call sub.msvcrt.dll_memset
mov dword [0xa9ce40], 0x3c
mov eax, dword [0xa9ce28]
mov eax, dword [eax]
mov dword [0xa9ce50], eax
mov dword [0xa9ce54], 0
mov dword [0xa9ce44], 0x440
mov dword [0xa9ce5c], 5
mov dword [esp], 0xa9ce40
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x43927c
mov dword [0xa881d8], 1
mov eax, dword [0xa9ce78]
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 [0xa9ce78]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa881d8], 0
jmp 0x439838
mov dword [0xa9ce7c], 0
mov dword [0xa9ce80], 0
jmp 0x43935a
mov eax, dword [0xa9ce24]
mov edx, dword [eax]
mov eax, dword [0xa9ce7c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4392c9
mov eax, dword [0xa9ce80]
test eax, eax
jne 0x4392bf
mov dword [0xa9ce80], 1
jmp 0x4392c9
mov dword [0xa9ce80], 0
mov eax, dword [0xa9ce24]
mov edx, dword [eax]
mov eax, dword [0xa9ce7c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x43934d
mov eax, dword [0xa9ce80]
test eax, eax
jne 0x43934d
mov eax, dword [0xa9ce24]
mov edx, dword [eax + 4]
mov eax, dword [0xa9ce7c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004171c0
mov edx, eax
mov eax, dword [0xa9ce2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov edx, dword [0xa9ce7c]
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004170f8
mov edx, eax
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
jmp 0x439374
mov eax, dword [0xa9ce7c]
add eax, 1
mov dword [0xa9ce7c], eax
mov eax, dword [0xa9ce24]
mov edx, dword [eax + 4]
mov eax, dword [0xa9ce7c]
cmp edx, eax
setg al
test al, al
jne 0x439295
mov eax, dword [0xa9ce24]
mov eax, dword [eax + 4]
test eax, eax
je 0x43982e
mov eax, dword [0xa9ce2c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4394d3
mov eax, dword [0xa9ce24]
mov dword [esp], eax
call fcn.00437428
test eax, eax
sete al
test al, al
je 0x4394d3
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce30]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ce40
call sub.msvcrt.dll_memset
mov dword [0xa9ce40], 0x3c
mov eax, dword [0xa9ce28]
mov eax, dword [eax]
mov dword [0xa9ce50], eax
mov eax, dword [0xa9ce30]
mov eax, dword [eax]
mov dword [0xa9ce54], eax
mov dword [0xa9ce44], 0x440
mov dword [0xa9ce5c], 5
mov dword [esp], 0xa9ce40
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4394d3
mov dword [0xa881d8], 1
mov eax, dword [0xa9ce78]
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 [0xa9ce78]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa881d8], 0
jmp 0x439838
mov eax, dword [0xa9ce2c]
mov eax, dword [eax + 4]
test eax, eax
je 0x439510
mov ebx, dword [0xa9ce2c]
mov dword [esp], 0x4f06f7
call fcn.0041619f
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov edx, dword [0xa9ce2c]
mov eax, dword [0xa9ce24]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov ebx, dword [0xa9ce20]
mov dword [esp], str.__c
call fcn.0041619f
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ce40
call sub.msvcrt.dll_memset
mov dword [0xa9ce40], 0x3c
mov dword [0xa9ce50], 0x4e6846
mov eax, dword [0xa9ce20]
mov eax, dword [eax]
mov dword [0xa9ce54], eax
mov dword [0xa9ce44], 0x440
mov dword [0xa9ce5c], 5
mov dword [esp], 0xa9ce40
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x439831
mov dword [0xa881d8], 1
mov eax, dword [0xa9ce78]
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 [0xa9ce78]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa881d8], 0
jmp 0x439838
mov dword [esp], str.command.com__c
call fcn.0041619f
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 4], 1
mov dword [esp], 0x4f0683
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416cde
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa9cea0
call sub.msvcrt.dll_memset
mov dword [0xa9cea0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa9cee4
call sub.msvcrt.dll_memset
mov eax, dword [0xa9ce20]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa9cee4
mov dword [esp + 0x20], 0xa9cea0
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 0x439834
mov dword [0xa881d8], 1
mov eax, dword [0xa9cee4]
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 [0xa9cee4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa9cee8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa881d8], 0
jmp 0x439838
mov eax, dword [0xa9ce1c]
test eax, eax
jne 0x4397cf
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x4f08d6
call fcn.00416230
mov edx, eax
mov eax, dword [0xa9ce20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041651a
mov dword [0xa881d8], 1
mov eax, dword [0xa9ce20]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa881d8], 0
mov eax, dword [0xa9ce1c]
test eax, eax
jne 0x439837
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x439837
nop
jmp 0x439838
nop
jmp 0x439838
nop
jmp 0x439838
nop
jmp 0x439838
nop
mov eax, dword [0xa9ce18]
test eax, eax
je 0x43986d
mov eax, dword [0xa9ce18]
mov dword [0x4e6534], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70d000]
test eax, eax
sete al
test al, al
jne 0x43984b
jmp 0x43986d
nop
mov ebx, dword [ebp - 4]
leave
ret