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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x224], edx
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov bl, al
shr eax, 3
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x228], edx
xor edx, edx
and al, 1
and bl, 1
mov dword [edi], edx
mov dword [ebp - 0x230], edi
mov dword [esi], edx
mov byte [ebp - 0x219], al
cmp ecx, edx
jne 0x434f19
mov dword [esi], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
push edx
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x434f99
mov ecx, dword [ebp - 0x220]
cmp eax, dword [ecx]
je 0x434f50
mov ecx, dword [ebp - 0x224]
push edi
push eax
mov edx, esi
call fcn.00434cca
pop ecx
pop ecx
test al, al
je 0x434f99
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x219], 0
mov ecx, dword [ebp - 0x220]
mov dword [ecx], eax
je 0x434f91
lea edx, [ebp - 0x220]
push edx
push 0x1f4
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x482
push eax
mov dword [ebp - 0x220], ecx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp - 0x220], 1
jne 0x434f08
xor eax, eax
inc eax
jmp 0x434f0a
test bl, bl
je 0x434f08
cmp dword [ebp - 0x224], 0
je 0x434f08
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
and dword [ebp - 0x220], 0
mov byte [ebp - 0x219], 1
call ebx
test eax, eax
je 0x434fe8
push dword [ebp - 0x224]
call fcn.0040595b
pop ecx
cmp eax, 1
jne 0x434fe8
mov byte [ebp - 0x219], 0
jmp 0x434ff3
push dword [ebp - 0x224]
call fcn.00448ada
cmp byte [ebp - 0x219], 0
sete al
cmp al, 1
jne 0x4350f4
xor eax, eax
push 0x208
mov word [ebp - 0x218], ax
xor edi, edi
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004f18b0
add esp, 0xc
cmp dword [ebp - 0x228], edi
je 0x435047
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004f6833
add esp, 0xc
push 0x40
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.004f18b0
mov dword [ebp - 0x240], edi
xor eax, eax
lea edi, [ebp - 0x23c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x240]
push eax
xor edi, edi
lea eax, [ebp - 0x288]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x288], 0x44
mov dword [ebp - 0x25c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4350d2
mov dword [ebp - 0x220], edi
mov dword [esi], 0x64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x230]
mov dword [ecx], eax
jmp 0x435116
push dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 2
call esi
push dword [ebp - 0x240]
call esi
jmp 0x435116
push dword [ebp - 0x224]
call ebx
test eax, eax
jne 0x435110
mov dword [esi], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x435116
mov dword [esi], 2
mov eax, dword [ebp - 0x220]
jmp 0x434f0a