Function at 0x4c6d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1268
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00404690
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4c6d74
mov edx, dword [ebp + 8]
push edx
call fcn.004046b0
add esp, 4
movzx eax, al
test eax, eax
je 0x4c6d74
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041e6b0
add esp, 4
movzx edx, al
test edx, edx
je 0x4c6d7b
xor al, al
jmp 0x4c716d
lea ecx, [ebp - 0x25d]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x50]
call fcn.004148f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x25e]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.004148f0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push 0x2c
push 0x36
mov ecx, dword [0x595ba0]
mov edx, dword [ecx]
mov ecx, dword [0x595ba0]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x54], eax
push 1
lea ecx, [ebp - 0x50]
push ecx
push 2
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x28]
call edx
mov ecx, eax
call fcn.00413950
push 0
lea ecx, [ebp - 0x4c]
call fcn.004191f0
movzx eax, word [eax]
cmp eax, 0x2a
jne 0x4c6ec5
mov cx, word [0x5124d4]
mov word [ebp - 0x25c], cx
push 0x206
push 0
lea edx, [ebp - 0x25a]
push edx
call fcn.0044aec0
add esp, 0xc
push 1
push 0
lea ecx, [ebp - 0x4c]
call fcn.00414d50
push 0
lea eax, [ebp - 0x25c]
push eax
push 0x104
push 0
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4c6e80
mov byte [ebp - 0x25f], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
mov al, byte [ebp - 0x25f]
jmp 0x4c716d
lea ecx, [ebp - 0x281]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x280]
call fcn.00414c40
mov byte [ebp - 4], 2
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x50]
call fcn.00415500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00414a10
jmp 0x4c6f9a
lea eax, [ebp - 0x50]
test eax, eax
je 0x4c6eda
lea ecx, [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x300], ecx
jmp 0x4c6ee4
mov dword [ebp - 0x300], 0
mov edx, 0x595c94
test edx, edx
je 0x4c6efd
mov eax, 0x595c94
add eax, 4
mov dword [ebp - 0x304], eax
jmp 0x4c6f07
mov dword [ebp - 0x304], 0
mov ecx, dword [ebp - 0x300]
push ecx
mov edx, dword [ebp - 0x304]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x30c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30c]
push edx
lea ecx, [ebp - 0x50]
call fcn.00407ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.00414bf0
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0048ded0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4c6f9a
mov byte [ebp - 0x2a1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
mov al, byte [ebp - 0x2a1]
jmp 0x4c716d
push 1
lea edx, [ebp - 0x30]
push edx
push 8
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x28]
call eax
mov ecx, eax
call fcn.00413950
push 0xa
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x310], eax
push 0
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x310]
mov eax, dword [edx + 0x138]
call eax
test eax, eax
je 0x4c7117
lea ecx, [ebp - 0x30]
test ecx, ecx
je 0x4c7000
lea edx, [ebp - 0x30]
add edx, 4
mov dword [ebp - 0x314], edx
jmp 0x4c700a
mov dword [ebp - 0x314], 0
lea eax, [ebp - 0x50]
test eax, eax
je 0x4c701f
lea ecx, [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x318], ecx
jmp 0x4c7029
mov dword [ebp - 0x318], 0
mov edx, dword [ebp - 0x318]
push edx
push 0x5124e0
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417910
add esp, 0xc
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 4
push 0x5124d8
mov edx, dword [ebp - 0x320]
push edx
lea eax, [ebp - 0x2dc]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x314]
push edx
mov eax, dword [ebp - 0x328]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x330]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407ba0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f8]
call fcn.00414bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2dc]
call fcn.00414bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.00414bf0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
call fcn.00485910
add esp, 0x18
jmp 0x4c7137
push 5
push 0
lea ecx, [ebp - 0x2c]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041e690
add esp, 8
mov byte [ebp - 0x2f9], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
mov al, byte [ebp - 0x2f9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret