Function at 0x4b3d90
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5095c8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
test eax, eax
je 0x4b3dec
mov dword [eax], 0
test ecx, ecx
je 0x4b3df6
mov dword [ecx], 0
test edx, edx
je 0x4b3e00
mov dword [edx], 0
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x4d], 0
je 0x4b4031
test edx, edx
je 0x4b4031
mov ecx, esi
call fcn.0041a2d0
push 0
push esi
mov edi, eax
call fcn.00416c50
add esp, 8
test al, al
jne 0x4b4031
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b4031
push edi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4b4031
lea ecx, [ebp - 0x4c]
call fcn.0045b3b0
xor esi, esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.0045b6c0
test al, al
je 0x4b4022
lea edx, [ebp - 0x2c]
push edx
call fcn.00429910
add esp, 4
cmp dword [ebp - 0x1c], esi
jne 0x4b3e9e
cmp dword [ebp - 0x18], 8
jb 0x4b3e90
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
jmp 0x4b401b
push 0x40
lea edx, [ebp - 0xb8]
push esi
push edx
call fcn.004e15a0
add esp, 0xc
cmp byte [ebp + 0x1c], 0
mov dword [ebp - 0xbc], 0x44
je 0x4b3ed6
mov eax, 1
mov dword [ebp - 0x90], 1
mov word [ebp - 0x8c], ax
xor eax, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
cmp dword [ebx + 0x10], esi
je 0x4b3efb
mov ecx, ebx
call fcn.0041a2d0
push eax
call fcn.0040c975
add esp, 4
mov esi, eax
mov dword [ebp - 0x78], esi
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x4b3f62
cmp dword [ebp - 0x18], 8
jae 0x4b3f17
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0xbc]
push edx
push eax
mov eax, dword [ebp + 0x18]
push ebx
push eax
push ebx
push ebx
push ebx
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4b3f89
cmp esi, ebx
je 0x4b3f45
push esi
call fcn.00402d0e
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x4b3f57
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
xor edx, edx
mov word [ebp - 0x2c], dx
jmp 0x4b4018
cmp dword [ebp - 0x18], 8
jae 0x4b3f6b
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xbc]
push edx
push eax
mov eax, dword [ebp + 0x18]
push ebx
push eax
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x4b3f34
mov edi, dword [ebp - 0x70]
mov dword [edi], ebx
cmp dword [ebp - 0x64], ebx
je 0x4b3fca
push 1
push ebx
push ebx
mov dword [ebp - 0x54], ebx
call fcn.0049a910
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x64]
add esp, 4
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4b3fca
mov edx, dword [ebp - 0x54]
mov dword [edi], edx
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x4b3fd6
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x4b3fef
mov ecx, dword [ebp - 0x68]
cmp ecx, ebx
je 0x4b3fe8
mov dword [ecx], eax
jmp 0x4b3fef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x4d], 1
cmp esi, ebx
je 0x4b4000
push esi
call fcn.00402d0e
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x4b4012
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0045b410
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 0x24