Function at 0x4c86f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2747
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4c8731
cmp dword [0x595b40], 0
je 0x4c8731
jmp 0x4c89dd
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4c8749
mov edx, dword [0x595b3c]
and edx, 0x11
je 0x4c8749
jmp 0x4c89dd
lea ecx, [ebp - 0x68d]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x50]
call fcn.004148f0
mov dword [ebp - 4], 0
push 0x513414
push 0x2d
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x595e28
call fcn.004e0480
xor ecx, ecx
mov word [ebp - 0x464], cx
push 0x206
push 0
lea edx, [ebp - 0x462]
push edx
call fcn.0044aec0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x25c], ax
push 0x206
push 0
lea ecx, [ebp - 0x25a]
push ecx
call fcn.0044aec0
add esp, 0xc
mov ecx, 0x595c98
call fcn.00413e50
push eax
lea edx, [ebp - 0x464]
push edx
call fcn.0044ac48
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0044ac48
add esp, 8
push 0xa
push 0x513418
lea ecx, [ebp - 0x464]
push ecx
call fcn.00448da2
add esp, 4
lea edx, [ebp + eax*2 - 0x464]
push edx
call fcn.00448f70
add esp, 0xc
push 4
push 0x513424
lea eax, [ebp - 0x25c]
push eax
call fcn.00448da2
add esp, 4
lea ecx, [ebp + eax*2 - 0x25c]
push ecx
call fcn.00448f70
add esp, 0xc
mov dword [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov word [ebp - 0x10], dx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4c888e
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.0048f450
add esp, 8
mov dword [ebp - 0x28], 2
lea edx, [ebp - 0x464]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x20], eax
mov ecx, 0x214
mov word [ebp - 0x1c], cx
jmp 0x4c88a7
mov dword [ebp - 0x28], 3
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x24], edx
mov eax, 0x14
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [0x595b40], 0
jne 0x4c88d1
push 0
push 0x6a
push 0xc
mov ecx, 0x596118
call fcn.004bb3d0
movzx edx, al
test edx, edx
je 0x4c88e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
jmp 0x4c89dd
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4c89bf
xor ecx, ecx
mov word [ebp - 0x66c], cx
push 0x206
push 0
lea edx, [ebp - 0x66a]
push edx
call fcn.0044aec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x66c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x66c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00410d00
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.0048ded0
add esp, 8
movzx eax, al
test eax, eax
je 0x4c89bd
lea ecx, [ebp - 0x68e]
call fcn.0040b800
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x68c]
call fcn.00414c40
mov byte [ebp - 4], 1
push str.__rc
lea ecx, [ebp - 0x688]
call fcn.00410d00
lea ecx, [ebp - 0x688]
call fcn.00413e50
push eax
push 0x513438
push 1
push 0
push 0x513454
lea ecx, [ebp - 0x4c]
call fcn.00413e50
push eax
push 1
call fcn.004e3cc0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68c]
call fcn.00414a10
jmp 0x4c89ce
push 0x513464
push 1
call fcn.004e3dc0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret