Function at 0x430a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ea52
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x579630]
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
mov edi, ecx
push 0x20019
push str.SOFTWAREJustsystemATOKSetupFolder
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
push 0x80000002
xor bl, bl
movq qword [ebp - 0x23c], xmm0
call fcn.0040dca0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0x53623c
push 0x105
push eax
call fcn.0040bd80
add esp, 0x10
test eax, eax
jne 0x430f24
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], eax
mov word [ebp - 0x254], ax
cmp word [ebp - 0x21c], ax
je 0x430b0f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430b00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00407750
push 4
xor eax, eax
mov byte [ebp - 4], 2
push str.Atok
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d0], 7
mov dword [ebp - 0x2d4], 0
mov word [ebp - 0x2e4], ax
call fcn.00407750
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00430f90
add esp, 0xc
cmp dword [ebp - 0x2d0], 8
mov byte [ebp - 4], 5
jb 0x430b91
push dword [ebp - 0x2e4]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x2d0], 7
cmp dword [ebp - 0x258], 8
lea ecx, [ebp - 0x234]
mov word [ebp - 0x2e4], ax
lea eax, [ebp - 0x26c]
cmovae eax, dword [ebp - 0x26c]
push ecx
push eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x2d4], 0
call fcn.004197c0
test eax, eax
jne 0x430ed9
cmp dword [ebp - 0x224], eax
je 0x430ed9
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 0x430ed9
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 0x430ed9
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x224]
cmovae ecx, dword [ebp - 0x234]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x430c60
push 0x5c
push 1
lea ecx, [ebp - 0x234]
call fcn.0040e250
push 0x54d380
lea ecx, [ebp - 0x284]
call fcn.004076f0
push str.ATFSVR
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.004076f0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.00430f90
add esp, 0xc
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 9
call fcn.004087d0
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.004335c0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00430f90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004b5370
lea ecx, [ebp - 0x32c]
call fcn.004087d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 9
call fcn.004087d0
push 0x54e518
lea ecx, [ebp - 0x344]
call fcn.004076f0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0xc
call fcn.004076f0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00430f90
push esi
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
push eax
call fcn.00433860
add esp, 0x18
lea ecx, [ebp - 0x2fc]
call fcn.004087d0
lea ecx, [ebp - 0x32c]
call fcn.004087d0
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x12
call fcn.004087d0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.004335c0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00430f90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x14
call fcn.004b5370
lea ecx, [ebp - 0x2e4]
call fcn.004087d0
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x12
call fcn.004087d0
push 0x54e52c
lea ecx, [ebp - 0x35c]
call fcn.004076f0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
call fcn.004076f0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00430f90
push esi
push eax
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 0x17
push eax
call fcn.00433860
add esp, 0x18
lea ecx, [ebp - 0x314]
call fcn.004087d0
lea ecx, [ebp - 0x2e4]
call fcn.004087d0
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x1b
call fcn.004087d0
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.004335c0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00430f90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1d
call fcn.004b5370
lea ecx, [ebp - 0x344]
call fcn.004087d0
lea ecx, [ebp - 0x2fc]
call fcn.004087d0
lea ecx, [ebp - 0x2cc]
mov bl, 1
call fcn.004087d0
lea ecx, [ebp - 0x29c]
call fcn.004087d0
lea ecx, [ebp - 0x2b4]
call fcn.004087d0
lea ecx, [ebp - 0x284]
call fcn.004087d0
cmp dword [ebp - 0x258], 8
jb 0x430ef0
push dword [ebp - 0x26c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], 7
cmp dword [ebp - 0x240], 8
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
jb 0x430f24
push dword [ebp - 0x254]
call fcn.004085be
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x430f3b
push dword [ebp - 0x234]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040dfb0
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.00401590
mov esp, ebp
pop ebp
ret 4