Function at 0x434bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e7b2
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e0], ecx
push 0x20019
push str.SOFTWAREJustsystemATOKSetupFolder
xorps xmm0, xmm0
mov byte [ebp - 0x2d1], 0
push 0x80000002
lea ecx, [ebp - 0x288]
movlpd qword [ebp - 0x288], xmm0
call fcn.0040c860
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0x594e94
push 0x105
push eax
call fcn.0040eae0
add esp, 0x10
test eax, eax
jne 0x435243
mov dword [ebp - 0x258], eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x254], 7
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434ca0
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00408f30
push 4
xor eax, eax
mov byte [ebp - 4], 2
push str.Atok
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.00408f30
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x250]
push eax
mov byte [ebp - 4], 3
call fcn.0040ddb0
mov dword [ebp - 0x270], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x434d7f
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x240], 0
cmp dword [ebp - 0x26c], 8
lea ecx, [ebp - 0x234]
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x280]
cmovae eax, dword [ebp - 0x280]
push ecx
push eax
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x23c], 7
mov byte [ebp - 4], 5
call fcn.0041f7a0
test eax, eax
jne 0x4351e2
cmp dword [ebp - 0x224], eax
je 0x4351e2
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4351e2
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4351e2
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x234]
mov edx, dword [ebp - 0x234]
cmp edi, 8
mov ecx, dword [ebp - 0x224]
cmovae eax, edx
mov dword [ebp - 0x2d8], ecx
cmp word [eax + ecx*2 - 2], 0x5c
je 0x434f5e
cmp ecx, edi
jae 0x434e76
lea eax, [ecx + 1]
cmp edi, 8
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x234]
cmovae eax, edx
mov dword [eax + ecx*2], 0x5c
jmp 0x434f5e
mov edx, 0x7ffffffe
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x4352b0
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x2dc], eax
or esi, 7
mov dword [ebp - 0x238], esi
cmp esi, edx
jbe 0x434ea4
mov esi, edx
jmp 0x434ec2
mov eax, edi
shr eax, 1
sub edx, eax
cmp edi, edx
jbe 0x434eb5
mov esi, 0x7ffffffe
jmp 0x434ec2
add eax, edi
cmp esi, eax
mov dword [ebp - 0x238], eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x234]
call fcn.00409030
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x238], eax
push ecx
lea esi, [eax + ecx]
mov dword [ebp - 0x2d8], esi
cmp edi, 8
jb 0x434f3c
lfence
mov esi, dword [ebp - 0x234]
push esi
push eax
call fcn.0053e840
mov eax, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x234]
add esp, 0xc
mov dword [eax], 0x5c
lea eax, [edi + 1]
push eax
push esi
call fcn.0040a2e0
jmp 0x434f52
lea ecx, [ebp - 0x234]
push ecx
push eax
call fcn.0053e840
add esp, 0xc
mov dword [esi], 0x5c
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], eax
push 0x5ae738
lea ecx, [ebp - 0x2a0]
call fcn.0040e610
push str.ATFSVR
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 7
call fcn.0040e610
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00470a10
add esp, 0xc
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
call fcn.0040a280
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0049b580
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00470a10
add esp, 0x18
mov edi, dword [ebp - 0x2e0]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xc
call fcn.004e21b0
lea ecx, [ebp - 0x250]
call fcn.0040a280
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0xa
call fcn.0040a280
push 0x5afa38
lea ecx, [ebp - 0x310]
call fcn.0040e610
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xd
call fcn.0040e610
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00470a10
push esi
push eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xf
push eax
call fcn.00437360
add esp, 0x18
lea ecx, [ebp - 0x2f8]
call fcn.0040a280
lea ecx, [ebp - 0x250]
call fcn.0040a280
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x13
call fcn.0040a280
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.0049b580
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00470a10
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.004e21b0
lea ecx, [ebp - 0x328]
call fcn.0040a280
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x13
call fcn.0040a280
push 0x5afa4c
lea ecx, [ebp - 0x358]
call fcn.0040e610
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x16
call fcn.0040e610
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.00470a10
push esi
push eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x18
push eax
call fcn.00437360
add esp, 0x18
lea ecx, [ebp - 0x340]
call fcn.0040a280
lea ecx, [ebp - 0x328]
call fcn.0040a280
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x1c
call fcn.0040a280
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0049b580
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00470a10
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1e
call fcn.004e21b0
lea ecx, [ebp - 0x310]
call fcn.0040a280
lea ecx, [ebp - 0x2f8]
call fcn.0040a280
lea ecx, [ebp - 0x250]
mov byte [ebp - 0x2d1], 1
call fcn.0040a280
lea ecx, [ebp - 0x2b8]
call fcn.0040a280
lea ecx, [ebp - 0x2d0]
call fcn.0040a280
lea ecx, [ebp - 0x2a0]
call fcn.0040a280
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x435204
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x435243
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.0040a2e0
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x435265
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.0040c8e0
mov al, byte [ebp - 0x2d1]
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.00401682
mov esp, ebp
pop ebp
ret 4
call fcn.00478c60
int3