Function at 0x100041e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xcb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xcac], eax
mov eax, dword [esp + 0xcb8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xcc0]
push edi
push 0x616
mov edi, edx
mov dword [esp + 0x24], eax
xor ebp, ebp
lea eax, [esp + 0x6a6]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], 1
mov word [esp + 0x6ac], dx
call fcn.1000a0a0
push 0x206
lea edx, [esp + 0x4aa]
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x30], ebp
mov word [esp + 0x4b0], cx
call fcn.1000a0a0
push 0x206
lea ecx, [esp + 0x2ae]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x40], ebp
mov word [esp + 0x2b4], ax
call fcn.1000a0a0
push 0x206
lea eax, [esp + 0xb2]
xor edx, edx
push ebp
push eax
mov word [esp + 0xb8], dx
call fcn.1000a0a0
add esp, 0x30
cmp esi, ebp
je 0x100044f7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100044f7
cmp edi, ebp
je 0x100042bf
push edi
jmp 0x100042ed
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, ebp
je 0x100042f5
push ebp
push 0x10004070
push eax
mov dword [0x10012ec0], ebp
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [0x10012ec0]
cmp eax, ebp
jne 0x100042ec
xor eax, eax
mov dword [0x10012ec0], eax
push eax
call fcn.10006160
add esp, 4
lea ecx, [esp + 0x290]
push ecx
lea ebx, [esp + 0x8c]
lea edi, [esp + 0x49c]
mov ecx, esi
call fcn.100040b0
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 4
push edx
call edi
test eax, eax
je 0x1000432f
lea eax, [esp + 0x498]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x290]
push ecx
call edi
test eax, eax
je 0x10004348
lea edx, [esp + 0x290]
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x10004360
lea eax, [esp + 0x88]
push eax
call edi
test eax, eax
je 0x10004382
jmp 0x1000437b
push esi
call edi
test eax, eax
je 0x10004382
push 0x104
push esi
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ebp, [esp + 0x88]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 1
push edx
push ebp
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x18]
push ecx
push str.ExecuteCommandLine___strCommand__s
mov esi, eax
call fcn.10003830
push ebp
push str.ExecuteCommandLine___strParam__s
call fcn.10003830
mov ebx, dword [esp + 0x2c]
push ebx
push str.ExecuteCommandLine___strDirectory__s
call fcn.10003830
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
call edi
push eax
push esi
push str.ExecuteCommandLine___dwRet__d__Error__d
call fcn.10003830
add esp, 0xc
cmp esi, 0x20
jae 0x100044d7
call edi
mov ebp, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100043f8
mov dword [eax], ebp
push 0x44
lea edx, [esp + 0x44]
push 0
push edx
call fcn.1000a0a0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x6a4]
push ecx
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1000445e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1000e72c
lea edx, [esp + 0x6a4]
push edx
call edi
push esi
lea eax, [esp + 0x6a4]
push eax
call edi
lea ecx, [esp + 0x6a0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.ExecuteCommandLine___szCommandLine_Length__d
call fcn.10003830
add esp, 8
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push 0
push 0x20
push 0
push 0
push 0
lea ecx, [esp + 0x6c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100044dd
mov dword [esp + 0x24], eax
cmp dword [esp + 0xccc], eax
je 0x100044d7
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x100044c0
mov ecx, dword [0x10012ec0]
mov edi, ecx
push edi
call fcn.10006160
add esp, 4
mov ecx, ebp
lea esi, [esp + 0x6a0]
call fcn.10004520
mov eax, dword [esp + 0x24]
jmp 0x100044f9
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x24]
jmp 0x100044f9
xor eax, eax
mov ecx, dword [esp + 0xcbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000669a
add esp, 0xcb0
ret