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

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x6239d0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x54], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp + 0x3c], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x1f4]
push 0
push 0
push 0x1042
mov eax, dword [eax + 0x20]
push eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
mov ebx, eax
mov eax, dword [esi + 0x1f4]
push 0
push 0
push 0x1032
mov ecx, dword [eax + 0x20]
push ecx
call edi
cmp eax, 1
jbe 0x46b860
push 0
mov edx, dword [0x71076c]
push edx
mov eax, dword [0x710768]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call fcn.00469b60
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x54]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x58
mov esp, ebp
pop ebp
ret
jne 0x46baa7
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x7c], ebx
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov eax, dword [esi + 0x1f4]
lea edx, [ebp - 0x80]
push edx
push ebx
push 0x1005
mov eax, dword [eax + 0x20]
push eax
call edi
test eax, eax
je 0x46baa7
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, esi
call fcn.00455a70
mov edi, eax
mov dword [ebp + 0x40], ebx
cmp dword [0x70f5d4], ebx
je 0x46b8de
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
add eax, 0x54
cmp dword [eax], ebx
je 0x46b8c4
mov eax, dword [eax]
jmp 0x46b8c7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46b8de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x46b923
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
add eax, 0x54
cmp dword [eax], ebx
je 0x46b8f7
mov eax, dword [eax]
jmp 0x46b8fa
add eax, 4
push ebx
push eax
call fcn.0049bfe0
add esp, 8
test eax, eax
jne 0x46b9cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x46b923
cmp dword [0x70f5d4], ebx
je 0x46b9cd
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x50], ebx
xor edx, edx
mov word [ebp + 0x4c], dx
mov byte [ebp - 4], 1
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
cmp dword [eax + 0x91c], 3
je 0x46b969
mov ecx, dword [0x70f730]
push ecx
mov edx, dword [0x71106c]
push edx
lea ecx, [ebp + 0x48]
call fcn.00401960
jmp 0x46b99c
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
add eax, 0x54
cmp dword [eax], ebx
je 0x46b982
mov eax, dword [eax]
jmp 0x46b985
add eax, 4
mov ecx, dword [0x70f730]
push ecx
push eax
mov edx, dword [0x710544]
push edx
lea ecx, [ebp + 0x48]
call fcn.00402190
mov eax, dword [ebp + 0x48]
cmp eax, ebx
jne 0x46b9a6
lea eax, [ebp + 0x4c]
push 0x30
mov ecx, dword [0x710548]
push ecx
push eax
mov edx, dword [esi + 0x20]
push edx
call fcn.00469cf0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x48]
call fcn.004011f0
jmp 0x46b841
push 0x3c
push ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov ebx, 0x40
mov dword [ebp - 0x48], ebx
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
add eax, 0x54
cmp dword [eax], 0
je 0x46ba05
mov eax, dword [eax]
jmp 0x46ba08
add eax, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x46baa7
cmp dword [0x704d14], eax
jne 0x46baa7
push 0x3c
push eax
lea edx, [ebp]
push edx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp], 0x3c
mov dword [ebp + 4], ebx
push edi
mov ecx, dword [esi + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
add eax, 0x54
cmp dword [eax], 0
je 0x46ba5f
mov eax, dword [eax]
jmp 0x46ba62
add eax, 4
push 0
push eax
lea eax, [ebp + 0x44]
push eax
call fcn.00402a50
mov byte [ebp - 4], 2
push 0x3f
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.005f9b50
add esp, 0x14
test eax, eax
jne 0x46ba9b
mov edx, dword [ebp + 0x44]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x1c], 1
lea eax, [ebp]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00402550
mov dword [ebp - 4], 0xffffffff
jmp 0x46b841