Function at 0x43f1a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5585f2
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
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
mov byte [ebp - 0x2cd], 0
push 0x80000002
lea ecx, [ebp - 0x254]
movq qword [ebp - 0x254], xmm0
call fcn.0040b870
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 0x575fcc
push 0x105
push eax
call fcn.0040db80
add esp, 0x10
test eax, eax
jne 0x43f6ac
mov dword [ebp - 0x25c], eax
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x258], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f267
sub eax, edx
lea ecx, [ebp - 0x26c]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00408740
push 4
xor eax, eax
mov byte [ebp - 4], 2
push str.Atok
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00408740
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
cmovae eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 3
call fcn.0040cd80
mov dword [ebp - 0x274], 0
xor ecx, ecx
mov dword [ebp - 0x270], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x284], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x274], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.00408e50
cmp dword [ebp - 0x270], 8
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x284]
cmovae eax, dword [ebp - 0x284]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.0041e700
test eax, eax
jne 0x43f696
cmp dword [ebp - 0x224], eax
je 0x43f696
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 0x43f696
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 0x43f696
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x234]
mov esi, dword [ebp - 0x234]
cmp edx, 8
mov ecx, dword [ebp - 0x224]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x43f418
cmp ecx, edx
jae 0x43f3fc
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x234]
cmovae eax, esi
mov dword [eax + ecx*2], 0x5c
jmp 0x43f418
push 0x5c
mov byte [ebp - 0x2d1], 0
lea ecx, [ebp - 0x234]
push dword [ebp - 0x2d1]
push 1
call fcn.0040cc20
push 0x58e7c0
lea ecx, [ebp - 0x29c]
call fcn.0040d7b0
push str.ATFSVR
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.0040d7b0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00469590
add esp, 0xc
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 9
call fcn.00408e50
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.004411c0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00469590
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004d30d0
lea ecx, [ebp - 0x24c]
call fcn.00408e50
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 9
call fcn.00408e50
push 0x58fab8
lea ecx, [ebp - 0x304]
call fcn.0040d7b0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xc
call fcn.0040d7b0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.00469590
push esi
push eax
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0xe
push eax
call fcn.00441440
add esp, 0x18
lea ecx, [ebp - 0x2ec]
call fcn.00408e50
lea ecx, [ebp - 0x24c]
call fcn.00408e50
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0x12
call fcn.00408e50
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.004411c0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00469590
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x14
call fcn.004d30d0
lea ecx, [ebp - 0x31c]
call fcn.00408e50
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x12
call fcn.00408e50
push 0x58facc
lea ecx, [ebp - 0x34c]
call fcn.0040d7b0
mov esi, eax
push str.ATOK
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x15
call fcn.0040d7b0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.00469590
push esi
push eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x17
push eax
call fcn.00441440
add esp, 0x18
lea ecx, [ebp - 0x334]
call fcn.00408e50
lea ecx, [ebp - 0x31c]
call fcn.00408e50
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x1b
call fcn.00408e50
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.004411c0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00469590
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1d
call fcn.004d30d0
lea ecx, [ebp - 0x304]
call fcn.00408e50
lea ecx, [ebp - 0x2ec]
call fcn.00408e50
lea ecx, [ebp - 0x24c]
mov byte [ebp - 0x2cd], 1
call fcn.00408e50
lea ecx, [ebp - 0x2b4]
call fcn.00408e50
lea ecx, [ebp - 0x2cc]
call fcn.00408e50
lea ecx, [ebp - 0x29c]
call fcn.00408e50
lea ecx, [ebp - 0x284]
call fcn.00408e50
lea ecx, [ebp - 0x26c]
call fcn.00408e50
lea ecx, [ebp - 0x234]
call fcn.00408e50
lea ecx, [ebp - 0x254]
call fcn.0040b8f0
mov al, byte [ebp - 0x2cd]
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.0040154f
mov esp, ebp
pop ebp
ret 4