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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x51e26c]
test eax, eax
jne 0x43809c
mov eax, dword [0x62eb2c]
test eax, eax
je 0x4377c0
mov dword [esp], 0x106
call fcn.00413488
jmp 0x43809d
mov eax, dword [0x70c040]
mov dword [0xa9be58], eax
mov eax, dword [0xa9be58]
test eax, eax
je 0x4377fc
mov dword [0x4e5534], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70c040]
test eax, eax
setne al
test al, al
jne 0x4377dd
mov dword [0xa9be5c], 0
mov eax, dword [0x62eb58]
test eax, eax
je 0x437822
mov eax, dword [0x4e529c]
test eax, eax
je 0x437822
mov dword [0xa9be5c], 1
mov eax, dword [0xa9be60]
test eax, eax
jne 0x437844
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414be3
mov dword [0xa9be60], eax
mov eax, dword [0xa9be64]
test eax, eax
jne 0x437866
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414be3
mov dword [0xa9be64], eax
mov eax, dword [0xa9be68]
test eax, eax
jne 0x437888
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414be3
mov dword [0xa9be68], eax
mov eax, dword [0xa9be6c]
test eax, eax
jne 0x4378aa
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414be3
mov dword [0xa9be6c], eax
mov eax, dword [0xa9be70]
test eax, eax
jne 0x4378cc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414be3
mov dword [0xa9be70], eax
cmp dword [ebp + 0xc], 0
je 0x4378e3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4378e3
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x437fef
mov eax, dword [0xa9be5c]
test eax, eax
je 0x437954
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [0xa87218], 1
mov eax, dword [0xa9be60]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa87218], 0
jmp 0x438068
call fcn.00435b45
test eax, eax
setne al
test al, al
je 0x437e88
mov eax, dword [0xa9be64]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp], 0x4ef356
call fcn.004149cf
mov edx, eax
mov eax, dword [0xa9be6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov eax, dword [0xa9be64]
mov eax, dword [eax + 4]
test eax, eax
je 0x43805b
mov eax, dword [0xa9be64]
mov dword [esp], eax
call fcn.00435c58
test eax, eax
sete al
test al, al
je 0x437aac
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be68]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9be80
call sub.msvcrt.dll_memset
mov dword [0xa9be80], 0x3c
mov eax, dword [0xa9be68]
mov eax, dword [eax]
mov dword [0xa9be90], eax
mov dword [0xa9be94], 0
mov dword [0xa9be84], 0x440
mov dword [0xa9be9c], 5
mov dword [esp], 0xa9be80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x437aac
mov dword [0xa87218], 1
mov eax, dword [0xa9beb8]
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 [0xa9beb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa87218], 0
jmp 0x438068
mov dword [0xa9bebc], 0
mov dword [0xa9bec0], 0
jmp 0x437b8a
mov eax, dword [0xa9be64]
mov edx, dword [eax]
mov eax, dword [0xa9bebc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x437af9
mov eax, dword [0xa9bec0]
test eax, eax
jne 0x437aef
mov dword [0xa9bec0], 1
jmp 0x437af9
mov dword [0xa9bec0], 0
mov eax, dword [0xa9be64]
mov edx, dword [eax]
mov eax, dword [0xa9bebc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x437b7d
mov eax, dword [0xa9bec0]
test eax, eax
jne 0x437b7d
mov eax, dword [0xa9be64]
mov edx, dword [eax + 4]
mov eax, dword [0xa9bebc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004159f0
mov edx, eax
mov eax, dword [0xa9be6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov edx, dword [0xa9bebc]
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415928
mov edx, eax
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
jmp 0x437ba4
mov eax, dword [0xa9bebc]
add eax, 1
mov dword [0xa9bebc], eax
mov eax, dword [0xa9be64]
mov edx, dword [eax + 4]
mov eax, dword [0xa9bebc]
cmp edx, eax
setg al
test al, al
jne 0x437ac5
mov eax, dword [0xa9be64]
mov eax, dword [eax + 4]
test eax, eax
je 0x43805e
mov eax, dword [0xa9be6c]
mov eax, dword [eax + 4]
test eax, eax
je 0x437d03
mov eax, dword [0xa9be64]
mov dword [esp], eax
call fcn.00435c58
test eax, eax
sete al
test al, al
je 0x437d03
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be68]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be70]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9be80
call sub.msvcrt.dll_memset
mov dword [0xa9be80], 0x3c
mov eax, dword [0xa9be68]
mov eax, dword [eax]
mov dword [0xa9be90], eax
mov eax, dword [0xa9be70]
mov eax, dword [eax]
mov dword [0xa9be94], eax
mov dword [0xa9be84], 0x440
mov dword [0xa9be9c], 5
mov dword [esp], 0xa9be80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x437d03
mov dword [0xa87218], 1
mov eax, dword [0xa9beb8]
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 [0xa9beb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa87218], 0
jmp 0x438068
mov eax, dword [0xa9be6c]
mov eax, dword [eax + 4]
test eax, eax
je 0x437d40
mov ebx, dword [0xa9be6c]
mov dword [esp], 0x4ef357
call fcn.004149cf
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov edx, dword [0xa9be6c]
mov eax, dword [0xa9be64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov ebx, dword [0xa9be60]
mov dword [esp], str.__c
call fcn.004149cf
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9be80
call sub.msvcrt.dll_memset
mov dword [0xa9be80], 0x3c
mov dword [0xa9be90], 0x4e5846
mov eax, dword [0xa9be60]
mov eax, dword [eax]
mov dword [0xa9be94], eax
mov dword [0xa9be84], 0x440
mov dword [0xa9be9c], 5
mov dword [esp], 0xa9be80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x438061
mov dword [0xa87218], 1
mov eax, dword [0xa9beb8]
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 [0xa9beb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa87218], 0
jmp 0x438068
mov dword [esp], str.command.com__c
call fcn.004149cf
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 4], 1
mov dword [esp], 0x4ef2e3
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041550e
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa9bee0
call sub.msvcrt.dll_memset
mov dword [0xa9bee0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa9bf24
call sub.msvcrt.dll_memset
mov eax, dword [0xa9be60]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa9bf24
mov dword [esp + 0x20], 0xa9bee0
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 0x438064
mov dword [0xa87218], 1
mov eax, dword [0xa9bf24]
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 [0xa9bf24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa9bf28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa87218], 0
jmp 0x438068
mov eax, dword [0xa9be5c]
test eax, eax
jne 0x437fff
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x4ef536
call fcn.00414a60
mov edx, eax
mov eax, dword [0xa9be60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00414d4a
mov dword [0xa87218], 1
mov eax, dword [0xa9be60]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa87218], 0
mov eax, dword [0xa9be5c]
test eax, eax
jne 0x438067
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x438067
nop
jmp 0x438068
nop
jmp 0x438068
nop
jmp 0x438068
nop
jmp 0x438068
nop
mov eax, dword [0xa9be58]
test eax, eax
je 0x43809d
mov eax, dword [0xa9be58]
mov dword [0x4e5534], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70c040]
test eax, eax
sete al
test al, al
jne 0x43807b
jmp 0x43809d
nop
mov ebx, dword [ebp - 4]
leave
ret