Function at 0x4d9a70
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c763
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x520]
push ebx
push ebx
push 0x1042
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jl 0x4d9b76
cmp eax, dword [esi + 0x2c8]
jge 0x4d9b76
mov ecx, dword [esi + 0x2c4]
mov edi, dword [ecx + eax*4]
cmp edi, ebx
jl 0x4d9b76
mov edx, dword [esi + 0x26c]
cmp edi, dword [edx + 0xb0]
jge 0x4d9b76
mov eax, dword [0x639ad4]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], eax
call fcn.00476c60
lea ecx, [ebp - 0x90]
call fcn.00476c60
mov eax, dword [0x639ad4]
mov dword [ebp - 0xf8], 0x59c97c
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov ecx, dword [esi + 0x26c]
lea eax, [ebp - 0xf8]
push ebx
push eax
push edi
add ecx, 8
mov byte [ebp - 4], 1
call fcn.0053fa00
cmp al, bl
jne 0x4d9b87
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.0044b000
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xba], 4
jne 0x4d9b68
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
jne 0x4d9ba0
lea eax, [ebp - 0x98]
push eax
call fcn.0054e46e
add esp, 4
test eax, eax
je 0x4d9b68
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
jne 0x4d9bbd
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d9c26
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x134], 0x3c
cmp eax, ebx
mov dword [ebp - 0x130], 0x40
je 0x4d9bfe
mov dword [ebp - 0x124], eax
jmp 0x4d9c0a
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x124], ecx
lea edx, [ebp - 0x134]
mov dword [ebp - 0x118], 1
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4d9b68
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4d9c44
lea eax, [ebp - 0x98]
mov esi, dword [0x63f264]
cmp esi, ebx
je 0x4d9ce8
cmp eax, ebx
je 0x4d9ce8
push eax
lea ecx, [ebp - 0x40]
call fcn.004034d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push esi
lea ecx, [ebp - 0x34]
call fcn.00403500
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00403580
push eax
call fcn.0054e46e
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.0056649c
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4d9cd0
lea ecx, [ebp - 0x40]
call fcn.00403580
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00403580
mov ecx, dword [ebp - 0x1c]
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0054e46e
add esp, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [0x63f260]
push ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.004024c0
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov ecx, eax
jne 0x4d9d0d
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4d9d17
lea eax, [ebp - 0x18]
push 0x30
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
jmp 0x4d9b68