Function at 0x41683d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x445a3d
call fcn.004205a0
sub esp, 0xa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], 2
test byte [ebp + 0x80], 4
mov dword [0x458994], ebx
jne 0x4169cd
cmp dword [ebp + 0x14], ebx
je 0x4168ea
lea eax, [ebp - 0x84]
push 1
push eax
lea ecx, [ebp + 8]
call fcn.00417e0d
lea ecx, [ebp - 0x84]
call fcn.00401291
cmp dword [ebp + 0x14], ebx
je 0x4168ea
lea eax, [ebp + 8]
push 0x4538a4
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00405290
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00412121
add esp, 0x18
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 4
call fcn.0040192a
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00401291
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00401291
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
or dword [ebp - 0x30], 1
mov ax, word [ebp + 0x88]
cmp dword [ebp + 0x64], ebx
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], ax
je 0x41691b
lea ecx, [ebp + 0x58]
call fcn.00401eea
mov edi, eax
jmp 0x41691d
xor edi, edi
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp + 0x30]
call fcn.0040171f
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 5
call fcn.00401eea
lea ecx, [ebp - 0x5c]
push 0x4589a0
push ecx
push edi
push ebx
mov dword [esi + 8], eax
push dword [ebp + 0x8c]
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00401974
cmp esi, ebx
jne 0x4169bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x458994], eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp + 0x30]
call fcn.0041014d
lea ecx, [ebp - 0xac]
call fcn.00401291
sub esp, 0x28
lea eax, [ebp + 0x30]
mov dword [ebp + 0x8c], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4494d8
mov dword [ecx + 0x20], 0x4494d0
call fcn.00401a9c
call fcn.00415769
add esp, 0x28
jmp 0x416aea
mov esi, dword [0x4589a0]
mov edi, dword [0x4589a8]
jmp 0x416b2d
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x8c]
push ebx
or al, 0x40
lea ecx, [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x48], str.open
call fcn.0040171f
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 6
call fcn.00401eea
mov dword [esi + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
call fcn.00401974
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp + 0x30]
call fcn.0040171f
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 7
call fcn.00401eea
mov dword [esi + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
call fcn.00401974
mov eax, dword [ebp + 0x88]
push ebx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0x58]
call fcn.0040171f
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 8
call fcn.00401eea
mov dword [esi + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
call fcn.00401974
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne al
cmp al, bl
jne 0x416b15
mov eax, dword [ebp - 0x34]
cmp eax, 0x20
jge 0x416b15
mov dword [0x458994], eax
lea eax, [ebp + 8]
push 0x4538a4
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00405290
sub esp, 0x1c
lea edx, [ebp + 0x30]
mov ecx, esp
mov dword [ebp + 0x8c], esp
push edx
push eax
push ecx
mov byte [ebp - 4], 9
call fcn.00412121
add esp, 0xc
call fcn.00415769
add esp, 0x28
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.00401291
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401291
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], bl
call fcn.00401291
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00401291
or eax, 0xffffffff
jmp 0x416be8
mov esi, dword [ebp - 0x1c]
push esi
mov dword [0x4589a0], esi
call fcn.00416bf7
mov edi, eax
pop ecx
mov dword [0x4589a8], edi
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp + 0x84]
push dword [ebp + 0x80]
push esi
push edi
call fcn.00416c1c
add esp, 0x10
mov edi, eax
push 0x458998
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp edi, ebx
je 0x416bc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x458994], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp + 0x30]
call fcn.0041014d
lea ecx, [ebp - 0x84]
call fcn.00401291
sub esp, 0x28
lea eax, [ebp + 0x30]
mov dword [ebp + 0x8c], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4494d8
mov dword [ecx + 0x20], 0x4494d0
call fcn.00401a9c
call fcn.00415769
add esp, 0x28
cmp edi, 0x102
jne 0x416bbd
push 0xfffffffffffffffd
pop esi
jmp 0x416bc3
push 0xfffffffffffffffe
jmp 0x416bba
invalid