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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x42e5bf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x42e5c9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x42e5d3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
call fcn.00408110
push ecx
mov ecx, esp
push str.upgradewinguard_x64.exe
call fcn.00403710
mov eax, dword [ebx + 0x594]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 8]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42df6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str.winguard_x64.exe
call fcn.00403710
mov eax, dword [ebx + 0x594]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 4]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dfc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041d210
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0041d210
mov eax, dword [ebp - 0xc]
add esp, 0xc
add eax, 0xfffffff0
mov ebx, esp
push eax
call fcn.00403380
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0040ebe0
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
mov dword [ebp - 0x18], 0
test al, al
jne 0x42e02a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e04f
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x42e04f
cmp dword [ebp - 0x18], 0x32
jge 0x42e04f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x18]
push 0
push esi
push edi
call ebx
test eax, eax
je 0x42e034
push ecx
mov ecx, esp
push str.upgradewinguard_x64.dll
call fcn.00403710
mov edi, dword [ebp - 0x14]
push ecx
mov esi, esp
mov eax, dword [edi + 0x594]
sub eax, 0x10
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 8]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e0ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str.winguard_x64.dll
call fcn.00403710
mov eax, dword [edi + 0x594]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 4]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e134
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0xc]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e167
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
call fcn.00403380
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0040ebe0
add esp, 8
mov dword [ebp - 0x18], 0
test al, al
jne 0x42e1af
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e1db
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x42e1db
nop
cmp dword [ebp - 0x18], 0x32
jge 0x42e1db
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x18]
push 0
push esi
push edi
call ebx
test eax, eax
je 0x42e1c0
push ecx
mov ecx, esp
push str.upgradewinguard.dll
call fcn.00403710
mov edi, dword [ebp - 0x14]
push ecx
mov esi, esp
mov eax, dword [edi + 0x594]
sub eax, 0x10
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 8]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e237
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str.winguard.dll
call fcn.00403710
mov eax, dword [edi + 0x594]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 4]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e28d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0xc]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
call fcn.00403380
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0040ebe0
add esp, 8
mov dword [ebp - 0x18], 0
test al, al
jne 0x42e33b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e36b
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x42e36b
nop dword [eax + eax]
cmp dword [ebp - 0x18], 0x32
jge 0x42e36b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x18]
push 0
push esi
push edi
call ebx
test eax, eax
je 0x42e350
push ecx
mov ecx, esp
push str.upgradewinguard.exe
call fcn.00403710
mov edi, dword [ebp - 0x14]
push ecx
mov esi, esp
mov eax, dword [edi + 0x594]
sub eax, 0x10
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 8]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e3c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str.winguard.exe
call fcn.00403710
mov eax, dword [edi + 0x594]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
lea ecx, [ebp - 0x38]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b620
push eax
lea ecx, [ebp - 4]
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e41d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e450
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0041d210
add esp, 8
lea ecx, [ebp - 0xc]
push eax
call fcn.00409a20
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e483
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
mov dword [ebp - 0xc], eax
call fcn.00403380
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x10], eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0040ebe0
add esp, 8
mov dword [ebp - 0x18], 0
test al, al
jne 0x42e4d1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e4fc
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x42e4fc
cmp dword [ebp - 0x18], 0x32
jge 0x42e4fc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x18]
push 0
push esi
push edi
call ebx
test eax, eax
je 0x42e4e1
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
push 5
push 0
push str._fromup
push esi
push str.open
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0xc]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e53c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e553
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00402130
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e575
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e58c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42e5a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42e5b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402080
push 0x80004005
call fcn.00402080
push 0x80004005
call fcn.00402080
int3