Function at 0x47d9e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47da01
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x47dd35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409938
xor ebx, ebx
push 0
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1a4]
test eax, eax
je 0x47dcef
mov dword [ebp - 0xc], 4
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20000013
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1a8]
test eax, eax
je 0x47dc0c
mov eax, dword [ebp - 0x10]
sub eax, 0xc8
je 0x47da80
add eax, 0xffffff9b
sub eax, 3
jb 0x47da8e
sub eax, 0x61
je 0x47db4a
sub eax, 6
je 0x47dbcd
jmp 0x47dc0c
movzx eax, byte [esi + 0x72]
mov byte [esi + 0x73], al
mov bl, 1
jmp 0x47dc0c
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x21
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1a8]
test eax, eax
jne 0x47dc0c
cmp dword [ebp - 0xc], 0
jbe 0x47dc0c
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x7a
jne 0x47dc0c
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0040a4dc
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x21
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1a8]
test eax, eax
je 0x47dc0c
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.0040a9ac
mov edx, dword [ebp - 0x20]
mov eax, 0x763520
mov ecx, 0
call fcn.0040a554
cmp byte [0x76351c], 0
je 0x47db3c
cmp byte [esi + 0x14], 0
jne 0x47db3c
push 1
push 0
push 0
mov eax, dword [0x763520]
call fcn.0040a3a8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
movzx eax, byte [esi + 0x72]
mov byte [esi + 0x73], al
mov bl, 1
jmp 0x47dc0c
cmp byte [esi + 0x72], 0
je 0x47db56
mov byte [esi + 0x73], 0
jmp 0x47db5a
mov byte [esi + 0x72], 1
cmp byte [esi + 0x5d], 0
jne 0x47dc0c
cmp dword [esi + 0x20], 0
je 0x47dc0c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1ac]
test eax, eax
je 0x47dc0c
mov byte [esi + 0x5d], 1
mov eax, dword [ebp - 0x14]
call fcn.0047d9a4
mov edi, eax
mov dword [esi + 0x60], edi
test edi, edi
je 0x47dc0c
push 0
mov eax, dword [esi + 0x24]
call fcn.0040a944
push eax
mov eax, dword [esi + 0x20]
call fcn.0040a944
push eax
push edi
push 0
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1b0]
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esi + 0x5c], al
jmp 0x47dc0c
cmp byte [esi + 0x64], 0
jne 0x47dc0c
cmp dword [esi + 0x28], 0
je 0x47dc0c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1ac]
test eax, eax
je 0x47dc0c
mov byte [esi + 0x64], 1
mov eax, dword [ebp - 0x14]
call fcn.0047d9a4
mov edi, eax
mov dword [esi + 0x68], edi
test edi, edi
setne al
mov byte [esi + 0x5c], al
test bl, bl
je 0x47dd17
jmp 0x47dc58
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0040a4dc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1b8]
test eax, eax
je 0x47dc70
mov eax, dword [ebp - 4]
call fcn.00409e24
cmp eax, dword [ebp - 0xc]
jne 0x47dc70
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040a184
mov eax, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [0x76f1b4]
test eax, eax
je 0x47dc70
cmp dword [ebp - 0xc], 0
ja 0x47dc16
push 0
mov esi, dword [0x768db8]
mov esi, dword [esi]
mov eax, dword [ebp - 8]
mov ecx, 0x47dd54
mov edx, 0x47dd64
call esi
push 0
mov esi, dword [0x768db8]
mov esi, dword [esi]
mov eax, dword [ebp - 8]
mov ecx, 0x47dd78
mov edx, 0x47dd88
call esi
push 0
mov esi, dword [0x768db8]
mov esi, dword [esi]
mov eax, dword [ebp - 8]
mov ecx, 0x47dd9c
mov edx, 0x47ddac
call esi
push 0
mov esi, dword [0x768db8]
mov esi, dword [esi]
mov eax, dword [ebp - 8]
mov ecx, 0x47ddc0
mov edx, 0x47ddd0
call esi
push 0
mov esi, dword [0x768db8]
mov esi, dword [esi]
mov eax, dword [ebp - 8]
mov ecx, 0x47dde4
mov edx, 0x47ddf4
call esi
jmp 0x47dd17
cmp dword [esi + 0x60], 0
jne 0x47dd07
cmp dword [esi + 0x68], 0
jne 0x47dd07
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x2f00
je 0x47dd0b
xor eax, eax
jmp 0x47dd0d
mov al, 1
mov byte [esi + 0x5c], al
mov eax, esi
call fcn.0047ddfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dd3c
lea eax, [ebp - 0x20]
call fcn.00409914
lea eax, [ebp - 4]
call fcn.00409938
ret