Function at 0x449730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d982
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x62cf50]
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 - 0x2e4], ecx
push 0x20019
push str.SOFTWAREJustsystemATOKSetupFolder
xorps xmm0, xmm0
mov byte [ebp - 0x2d5], 0
push 0x80000002
lea ecx, [ebp - 0x28c]
movq qword [ebp - 0x28c], xmm0
mov dword [ebp - 0x284], 0
call fcn.0040dd20
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x20a
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
call fcn.0056aed0
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x5c8c60
push 0x105
push eax
call fcn.00410850
add esp, 0x1c
test eax, eax
jne 0x449dba
mov dword [ebp - 0x258], eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x254], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449817
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00409db0
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.00409db0
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.0040f730
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 0x4498f6
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.0040a5e0
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 - 0x28c]
mov dword [ebp - 0x23c], 7
mov byte [ebp - 4], 5
call fcn.0040bc60
test eax, eax
jne 0x449d59
cmp dword [ebp - 0x224], eax
je 0x449d59
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 0x449d59
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 0x449d59
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 - 0x2dc], ecx
cmp word [eax + ecx*2 - 2], 0x5c
je 0x449ad5
cmp ecx, edi
jae 0x4499ed
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 0x449ad5
mov edx, 0x7ffffffe
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x449e27
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x2e0], eax
or esi, 7
mov dword [ebp - 0x238], esi
cmp esi, edx
jbe 0x449a1b
mov esi, edx
jmp 0x449a39
mov eax, edi
shr eax, 1
sub edx, eax
cmp edi, edx
jbe 0x449a2c
mov esi, 0x7ffffffe
jmp 0x449a39
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.00409eb0
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp - 0x2dc]
add ecx, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x238], eax
push ecx
lea esi, [eax + ecx]
mov dword [ebp - 0x2dc], esi
cmp edi, 8
jb 0x449ab3
lfence
mov esi, dword [ebp - 0x234]
push esi
push eax
call fcn.0056a3d0
mov eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x234]
add esp, 0xc
mov dword [eax], 0x5c
lea eax, [edi + 1]
push eax
push esi
call fcn.0040a5e0
jmp 0x449ac9
lea ecx, [ebp - 0x234]
push ecx
push eax
call fcn.0056a3d0
add esp, 0xc
mov dword [esi], 0x5c
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], eax
push 0x5e4908
lea ecx, [ebp - 0x2a4]
call fcn.004102c0
push str.ATFSVR
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 7
call fcn.004102c0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.00478040
add esp, 0xc
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0xa
call fcn.0040a580
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.004a6c10
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00478040
add esp, 0x18
mov edi, dword [ebp - 0x2e4]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xc
call fcn.004f2a30
lea ecx, [ebp - 0x250]
call fcn.0040a580
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xa
call fcn.0040a580
push 0x5e5d08
lea ecx, [ebp - 0x314]
call fcn.004102c0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xd
call fcn.004102c0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00478040
push esi
push eax
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 0xf
push eax
call fcn.0044b1e0
add esp, 0x18
lea ecx, [ebp - 0x2fc]
call fcn.0040a580
lea ecx, [ebp - 0x250]
call fcn.0040a580
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x13
call fcn.0040a580
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.004a6c10
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00478040
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.004f2a30
lea ecx, [ebp - 0x32c]
call fcn.0040a580
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x13
call fcn.0040a580
push 0x5e5d1c
lea ecx, [ebp - 0x35c]
call fcn.004102c0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x16
call fcn.004102c0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00478040
push esi
push eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x18
push eax
call fcn.0044b1e0
add esp, 0x18
lea ecx, [ebp - 0x344]
call fcn.0040a580
lea ecx, [ebp - 0x32c]
call fcn.0040a580
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x1c
call fcn.0040a580
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.004a6c10
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00478040
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1e
call fcn.004f2a30
lea ecx, [ebp - 0x314]
call fcn.0040a580
lea ecx, [ebp - 0x2fc]
call fcn.0040a580
lea ecx, [ebp - 0x250]
mov byte [ebp - 0x2d5], 1
call fcn.0040a580
lea ecx, [ebp - 0x2bc]
call fcn.0040a580
lea ecx, [ebp - 0x2d4]
call fcn.0040a580
lea ecx, [ebp - 0x2a4]
call fcn.0040a580
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x449d7b
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.0040a5e0
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 0x449dba
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.0040a5e0
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x449ddc
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.0040c880
mov al, byte [ebp - 0x2d5]
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 int.004016cd
mov esp, ebp
pop ebp
ret 4
call fcn.0047ea80
int3