Function at 0x4293b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df792
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20019
push str.SOFTWAREJustsystemATOKSetupFolder
mov esi, ecx
push 0x80000002
lea ecx, [ebp - 0x390]
xor bl, bl
call fcn.0040a620
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], ax
mov ecx, dword [ebp + 8]
push ecx
push 0x4e8600
lea edx, [ebp - 0x21c]
push 0x105
push edx
mov byte [ebp - 4], 1
call fcn.004089f0
add esp, 0x10
test eax, eax
jne 0x429892
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x429463
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00405fe0
push 4
xor edx, edx
push str.Atok
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], dx
call fcn.00405fe0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x28c]
push edx
mov byte [ebp - 4], 3
call fcn.00429900
add esp, 0xc
cmp dword [ebp - 0x240], 8
mov byte [ebp - 4], 5
jb 0x4294f1
mov eax, dword [ebp - 0x254]
push eax
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0x28c]
xor ecx, ecx
cmp dword [ebp - 0x278], 8
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], cx
jae 0x42951f
lea eax, [ebp - 0x28c]
lea edx, [ebp - 0x238]
push edx
push eax
lea ecx, [ebp - 0x390]
call fcn.00429950
test eax, eax
jne 0x429831
cmp dword [ebp - 0x228], edi
je 0x429831
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x42955b
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429831
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x42957f
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x429831
mov eax, dword [ebp - 0x228]
dec eax
push eax
lea ecx, [ebp - 0x238]
call fcn.00439440
cmp word [eax], 0x5c
je 0x4295b6
push 0x5c
push 1
lea ecx, [ebp - 0x238]
call fcn.0040c680
push 0x4fffc8
lea ecx, [ebp - 0x2c4]
call fcn.00408720
push str.ATFSVR
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 6
call fcn.00408720
lea ecx, [ebp - 0x270]
push ecx
push eax
lea edx, [ebp - 0x36c]
push edx
mov byte [ebp - 4], 7
call fcn.00429900
add esp, 0xc
mov bl, 9
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.00409f90
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call fcn.00427430
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x2fc]
push edx
mov byte [ebp - 4], 0xa
call fcn.00429900
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00482c30
lea ecx, [ebp - 0x2fc]
call fcn.00409f90
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], bl
call fcn.00409f90
push 0x501574
lea ecx, [ebp - 0x2e0]
call fcn.00408720
mov edi, eax
push str.ATOK
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.00408720
lea ecx, [ebp - 0x270]
push ecx
push eax
lea edx, [ebp - 0x2a8]
push edx
mov byte [ebp - 4], 0xd
call fcn.00429900
push edi
push eax
lea eax, [ebp - 0x334]
push eax
mov byte [ebp - 4], 0xe
call fcn.00483c40
add esp, 0x18
lea ecx, [ebp - 0x2a8]
call fcn.00409f90
lea ecx, [ebp - 0x2fc]
call fcn.00409f90
mov bl, 0x12
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], bl
call fcn.00409f90
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00427430
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x254]
push edx
mov byte [ebp - 4], 0x13
call fcn.00429900
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.00482c30
lea ecx, [ebp - 0x254]
call fcn.00409f90
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], bl
call fcn.00409f90
push 0x501560
lea ecx, [ebp - 0x388]
call fcn.00408720
mov edi, eax
push str.ATOK
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x15
call fcn.00408720
lea ecx, [ebp - 0x270]
push ecx
push eax
lea edx, [ebp - 0x318]
push edx
mov byte [ebp - 4], 0x16
call fcn.00429900
push edi
push eax
lea eax, [ebp - 0x350]
push eax
mov byte [ebp - 4], 0x17
call fcn.00483c40
add esp, 0x18
lea ecx, [ebp - 0x318]
call fcn.00409f90
lea ecx, [ebp - 0x254]
call fcn.00409f90
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x1b
call fcn.00409f90
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x2a8]
push eax
call fcn.00427430
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1c
push edx
call fcn.00429900
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00482c30
lea ecx, [ebp - 0x2e0]
call fcn.00409f90
lea ecx, [ebp - 0x2a8]
call fcn.00409f90
lea ecx, [ebp - 0x350]
mov bl, 1
call fcn.00409f90
lea ecx, [ebp - 0x334]
call fcn.00409f90
lea ecx, [ebp - 0x36c]
call fcn.00409f90
lea ecx, [ebp - 0x2c4]
call fcn.00409f90
xor edi, edi
cmp dword [ebp - 0x278], 8
jb 0x429849
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x25c], 8
mov esi, 7
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], edi
mov word [ebp - 0x28c], cx
jb 0x42987b
mov edx, dword [ebp - 0x270]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], edi
mov word [ebp - 0x270], ax
jmp 0x429897
mov esi, 7
cmp dword [ebp - 0x224], 8
jb 0x4298af
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4