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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4099ea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], edx
mov edi, ecx
push 0x1d
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push str.C:Program_Files7_Zip7z.exe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
call fcn.004074b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.C:Program_FilesWinRARWinRAR.exe
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.004074b0
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmova eax, dword [ebp - 0x5c]
push eax
call esi
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x154], eax
cmova ecx, dword [ebp - 0x2c]
push ecx
call esi
mov dword [ebp - 0xd4], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00403890
mov eax, dword [ebp - 0x154]
mov byte [ebp - 4], 3
cmp eax, 0xffffffff
je 0x403deb
test al, 0x10
jne 0x403deb
mov ecx, dword [ebp - 0x4c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4044ef
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
push ecx
cmova eax, dword [ebp - 0x5c]
push eax
push 1
push 0x40a604
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x16c]
call fcn.00407c90
push str.__x__
lea edx, [ebp - 0x16c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call fcn.00407220
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.004072f0
add esp, 4
push str.___o_
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
call fcn.00407220
add esp, 4
push dword [ebp - 0xd8]
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
call fcn.004072f0
add esp, 4
push str.___y
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
call fcn.00407220
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00406750
mov ecx, dword [ebp - 0xdc]
cmp ecx, 7
jbe 0x403c1a
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
cmp ecx, 7
jbe 0x403c77
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
cmp ecx, 7
jbe 0x403cd4
mov edx, dword [ebp - 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403cca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
cmp ecx, 7
jbe 0x403d31
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x13c]
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
cmp ecx, 7
jbe 0x403d8a
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
xor eax, eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov ecx, dword [ebp - 0x158]
cmp ecx, 7
jbe 0x40433c
mov edx, dword [ebp - 0x16c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404332
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404332
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xd4]
cmp eax, 0xffffffff
je 0x404098
test al, 0x10
jne 0x404098
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4044f4
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
push 1
push 0x40a604
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x16c]
call fcn.00407c90
push str.__x__
lea edx, [ebp - 0x16c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf0]
call fcn.00407220
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x108]
call fcn.004072f0
add esp, 4
push 0x40a608
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x120]
call fcn.00407220
add esp, 4
push dword [ebp - 0xd8]
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x138]
call fcn.004072f0
add esp, 4
push str.___y
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x150]
call fcn.00407220
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00406750
mov ecx, dword [ebp - 0x13c]
cmp ecx, 7
jbe 0x403f02
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ef8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 7
jbe 0x403f5f
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403f55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
cmp ecx, 7
jbe 0x403fbc
mov edx, dword [ebp - 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403fb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
cmp ecx, 7
jbe 0x404019
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40400f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
cmp ecx, 7
jbe 0x404076
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40406c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
jmp 0x403da7
mov ecx, dword [ebp - 0x64]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x3e
jb 0x4044f9
cmp dword [ebp - 0x60], 7
lea eax, [ebp - 0x74]
push ecx
cmova eax, dword [ebp - 0x74]
push eax
push 0x3e
push str.powershell__Command__Write_Host_Dang_thuc_hien_giai_nen_tep:
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x16c]
call fcn.00407c90
push str.__Expand_Archive__Path_
lea edx, [ebp - 0x16c]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf0]
call fcn.00407220
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x108]
call fcn.004072f0
add esp, 4
push str.__DestinationPath_
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x120]
call fcn.00407220
add esp, 4
push dword [ebp - 0xd8]
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x138]
call fcn.004072f0
add esp, 4
push 0x40a610
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x150]
call fcn.00407220
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00406750
mov ecx, dword [ebp - 0x13c]
cmp ecx, 7
jbe 0x404198
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40418e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 7
jbe 0x4041f5
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4041eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
cmp ecx, 7
jbe 0x404252
mov edx, dword [ebp - 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404248
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
cmp ecx, 7
jbe 0x4042af
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4042a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
cmp ecx, 7
jbe 0x404076
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404306
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
jmp 0x403da7
push ecx
push edx
call fcn.00408820
add esp, 8
push 0x40
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xc0], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0xd0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40439d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4043c1
push 0xffffffffffffffff
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xd0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xcc]
call esi
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x4043fb
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4043f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x404435
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40442b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x404483
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4044d1
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4044c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403de5
push ecx
push edx
call fcn.00408820
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004085e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401170
call fcn.00401170
call fcn.00401170
int3