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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e043
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x4354f8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040c560
mov byte [ebp - 4], 3
cmp dword [ebp + 0x18], 0
jbe 0x4131bb
mov dword [ebp - 0x30], 0x43594c
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
call fcn.004133b0
cmp dword [ebp - 0x2c], 0
jne 0x413268
lea ecx, [ebp - 0x9c]
call fcn.0040e1c0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x412f4e
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x412f1c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41339f
push edx
push ecx
call fcn.00417807
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x412f8e
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41339f
push edx
push ecx
call fcn.00417807
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x413268
cmp dword [ebp + 0x30], 0
jne 0x4131bb
push 1
xor eax, eax
mov dword [ebp - 0xb4], 0
push 0x434f10
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.0040c560
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0040b7c0
mov dword [ebp - 0x84], 0
xor ecx, ecx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x9c]
call fcn.0040a8c0
mov esi, eax
add esp, 4
lea eax, [ebp + 0x20]
cmp eax, esi
je 0x4130ca
mov edx, dword [ebp + 0x34]
cmp edx, 8
jb 0x413098
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41308e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a4
push edx
push ecx
call fcn.00417807
add esp, 8
mov dword [ebp + 0x30], 0
xor eax, eax
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp + 0x20], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x41310a
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413100
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a4
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
cmp edx, 8
jb 0x413164
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41315a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a4
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x4131bb
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4131b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a4
push edx
push ecx
call fcn.00417807
add esp, 8
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413268
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
mov dword [ebp - 0x6c], 0x3c
cmovae eax, dword [ebp + 0x20]
cmp dword [ebp + 0x48], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], eax
jbe 0x413212
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
jmp 0x413214
xor eax, eax
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x58], eax
jbe 0x41322a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x41322c
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41325a
test edi, edi
je 0x41325a
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x413268
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4132a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a9
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4132f0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4132e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a9
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x41333a
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a9
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x413384
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41337a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133a9
push edx
push ecx
call fcn.00417807
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004177f9
mov esp, ebp
pop ebp
ret
call fcn.0041af8c
call fcn.0041af8c
call fcn.0041af8c
int3