Function at 0x47c9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651168
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 4]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov ecx, dword [esi + 4]
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ecx*2 + 2]
push ecx
push dword [esi]
push edi
call fcn.005e0850
add esp, 0x10
mov dword [ebp - 4], 0
test ebx, ebx
je 0x47ca79
lea ecx, [ebx - 1]
lea ecx, [edi + ecx*2]
mov eax, ecx
cmp word [eax], 0x2e
je 0x47ca47
cmp eax, edi
je 0x47cbbe
sub eax, 2
cmp word [eax], 0x2e
jne 0x47ca36
sub eax, edi
sar eax, 1
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x47ca6d
cmp dx, 0x2f
je 0x47ca6d
cmp ecx, edi
je 0x47cbc6
movzx edx, word [ecx - 2]
sub ecx, 2
cmp edx, 0x5c
jne 0x47ca53
sub ecx, edi
sar ecx, 1
test eax, eax
js 0x47ca79
cmp eax, ecx
jge 0x47caad
mov eax, ebx
lea ecx, [ebp - 0x20]
shr eax, 1
add ebx, 0x10
add eax, ebx
and eax, 0xfffffff0
dec eax
push eax
call fcn.0049f070
mov eax, dword [ebp - 0x1c]
mov ecx, 0x2e
mov edi, dword [ebp - 0x20]
lea ebx, [eax + 1]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov word [edi + eax*2], cx
xor eax, eax
mov word [edi + ebx*2], ax
xor ecx, ecx
mov dword [ebp - 0x68], 0x3c
lea esi, [ebx + 1]
mov dword [ebp - 0x64], 0x140
mov eax, esi
mov dword [ebp - 0x60], 0
mov edx, 2
mov dword [ebp - 0x5c], 0
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [esi + esi]
mov ebx, eax
mov eax, dword [ebp - 0x10]
push ecx
push edi
push ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
call fcn.005e0850
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov byte [ebp - 4], 1
mov edx, 2
mov esi, dword [esi + 4]
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
lea ecx, [ecx*2 + 2]
push ecx
push dword [eax]
push edi
call fcn.005e0850
xor ecx, ecx
mov dword [ebp - 0x58], ebx
add esp, 0x20
mov dword [ebp - 0x54], 0
test esi, esi
mov dword [ebp - 0x4c], 1
mov eax, edi
mov dword [ebp - 0x30], ecx
cmove eax, ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x48]
push edi
mov dword [ecx], eax
call fcn.00545b61
push ebx
mov byte [ebp - 4], 0
call fcn.00545b61
add esp, 8
cmp esi, 0x20
ja 0x47cbce
cmp esi, 0x1f
jne 0x47cbb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.004a24f0
mov byte [ebp - 4], 2
xor edx, edx
mov ecx, dword [eax]
push 0
call fcn.0042f0f0
push dword [ebp - 0x2c]
call fcn.00545b61
add esp, 8
mov esi, 0x80004005
jmp 0x47cbd0
or eax, 0xffffffff
jmp 0x47ca4b
or ecx, 0xffffffff
jmp 0x47ca71
xor esi, esi
push dword [ebp - 0x20]
call fcn.00545b61
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret