Function at 0x4d8c60
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e76b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x582654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6df668], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x27c], esi
jne 0x4d8f44
push 0x104
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00527170
add esp, 0xc
cmp byte [0x6df069], 0x3a
jne 0x4d8cf6
cmp byte [0x6df06a], 0x5c
jne 0x4d8cf6
push 0x6df068
push 0x57db08
call fcn.004d9ef0
add esp, 4
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0041f000
add esp, 0xc
jmp 0x4d8d4c
lea eax, [ebp - 0x124]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x57db1c
call fcn.004d9ef0
mov edx, eax
add esp, 4
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4d8d20
lea edi, [ebp - 0x124]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4d8d30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00535b29
add esp, 8
cmp eax, 0xffffffff
je 0x4d8f38
lea ecx, [ebp - 0x278]
call fcn.004db280
push 1
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x278]
call fcn.004db3a0
test al, al
jne 0x4d8de5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp dword [0x6df6a4], 0
je 0x4d8f2b
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x124]
push eax
call edi
push eax
push esi
push 0x57c6a8
call fcn.004d9ef0
add esp, 4
push eax
mov eax, dword [0x6df6a4]
add eax, 0x24
push eax
call fcn.004d93e0
add esp, 0x14
lea ecx, [ebp - 0x278]
call fcn.004db320
jmp 0x4d8f44
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x57db38
push eax
call fcn.0041f000
push 0x104
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00527170
add esp, 0x18
cmp byte [0x6df170], 0
jne 0x4d8e31
mov eax, dword [0x6df67c]
and eax, 1
push eax
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
push 0x57db3c
jmp 0x4d8e47
push 0x6df170
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
push 0x57db4c
call fcn.004d9ef0
add esp, 4
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0041f000
add esp, 0x18
lea eax, [ebp - 0x2d0]
push 0x44
push 0
push eax
call fcn.00527170
add esp, 0xc
mov dword [ebp - 0x2d0], 0x44
lea eax, [ebp - 0x28c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28c], xmm0
push eax
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4d8eee
cmp dword [0x6df6a4], eax
je 0x4d8f2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x57db60
call fcn.004d9ef0
add esp, 4
push eax
mov eax, dword [0x6df6a4]
add eax, 0x24
push eax
call fcn.004d93e0
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.004db320
jmp 0x4d8f44
cmp dword [0x6df6a4], 0
je 0x4d8f1d
lea eax, [ebp - 0x228]
push eax
push 0x57db80
call fcn.004d9ef0
add esp, 4
push eax
mov eax, dword [0x6df6a4]
add eax, 0x24
push eax
call fcn.004d93e0
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x278]
call fcn.004db320
jmp 0x4d8f44
push esi
push dword [ebp + 8]
call fcn.004d8910
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052388c
mov esp, ebp
pop ebp
ret