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

Disassembly:
push 0xffffffffffffffff
push 0x445416
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
lea esi, [esp + 0x50]
mov edi, ecx
call fcn.0041b720
xor ebp, ebp
mov edx, eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0x104], ebp
call fcn.0042f3b7
mov esi, 8
mov byte [esp + 0x104], 2
cmp dword [esp + 0x68], esi
jb 0x41afcd
mov eax, dword [esp + 0x54]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0xf0], ebp
jne 0x41aff6
cmp dword [esp + 0xf4], esi
jb 0x41afef
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x41b3ce
mov ebx, 7
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
mov byte [esp + 0x104], 3
cmp dword [esp + 0xf4], esi
mov eax, dword [esp + 0xe0]
jae 0x41b030
lea eax, [esp + 0xe0]
push eax
push str.statictInstall__pname_s
lea ecx, [esp + 0xc8]
call fcn.0042de04
add esp, 8
push 0xffffffffffffffff
lea eax, [edi + 8]
push ebp
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], bp
call fcn.004019a0
mov byte [esp + 0x104], 4
push 0xffffffffffffffff
lea eax, [edi + 0x24]
push ebp
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], ebp
mov word [esp + 0xb0], bp
call fcn.004019a0
mov byte [esp + 0x104], 5
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x41b0bc
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b17d
cmp dword [esp + 0xbc], esi
jb 0x41b0e5
mov edx, dword [esp + 0xa8]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
jb 0x41b114
mov eax, dword [esp + 0x8c]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
jb 0x41b143
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xf4], esi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
jb 0x41afef
mov edx, dword [esp + 0xe0]
push edx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x41b3ce
cmp dword [esp + 0xb8], ebp
jne 0x41b1d1
mov edi, 2
lea ebx, [esp + 0x88]
call fcn.0040cf20
cmp eax, 0xffffffff
je 0x41b1cc
push eax
mov eax, ebx
push eax
xor ecx, ecx
lea esi, [esp + 0x74]
call fcn.0040cda0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xac]
mov byte [esp + 0x10c], 6
call fcn.004019a0
mov ecx, esi
call fcn.00401940
lea esi, [edi + 6]
mov ebx, 7
push 0x3c
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.00433170
add esp, 0xc
mov dword [esp + 0x14], 0x3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x540
jb 0x41b211
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x24], edx
jmp 0x41b21c
lea eax, [esp + 0x8c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xbc], esi
jb 0x41b232
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], ecx
jmp 0x41b23d
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0xd8], esi
jb 0x41b253
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
jmp 0x41b25e
lea ecx, [esp + 0xc4]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x34], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41b326
cmp dword [esp + 0xbc], esi
jb 0x41b28e
mov eax, dword [esp + 0xa8]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
jb 0x41b2bd
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
jb 0x41b2ec
mov edx, dword [esp + 0xc4]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xf4], esi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
jb 0x41afef
mov eax, dword [esp + 0xe0]
push eax
call fcn.00431474
add esp, 4
xor al, al
jmp 0x41b3ce
cmp dword [esp + 0xbc], esi
jb 0x41b33f
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
jb 0x41b36e
mov edx, dword [esp + 0x8c]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
jb 0x41b39d
mov eax, dword [esp + 0xc4]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0xf4], esi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
jb 0x41b3cc
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00431474
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00431b07
add esp, 0xf4
ret