Function at 0x10033690
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ffd8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1004c140
push str.Remove_the_AAMRef_file_created_by_ACCC
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
xor eax, eax
mov dword [ebp - 0x4c], 0
add esp, 0xc
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], eax
lea ecx, [eax + 0x20]
call fcn.100456b0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10033752
call fcn.1004c140
push str.Failed_to_find_AAMRefs_Folder_location_for_ACCC.
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
mov byte [ebp - 0x5d], 0
jmp 0x10033a53
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.10001e80
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.10001e80
push str._ACC.aamref
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x78]
call fcn.1000afc0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x100337ed
mov ecx, eax
call fcn.10001e20
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x10033827
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003381d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033aa9
push edx
push ecx
call fcn.1015cb05
add esp, 8
push str._ACCC.aamref
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x78]
call fcn.1000afc0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x1003386e
mov ecx, eax
call fcn.10001e20
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x100338a8
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003389e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033aae
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov byte [ebp - 0x5d], 0
call fcn.1004c140
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100338e2
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov cl, 1
setne al
jmp 0x100338e7
mov al, byte [ebp - 0x5d]
xor cl, cl
xor edx, edx
movzx eax, al
test cl, cl
cmove eax, edx
test al, al
je 0x1003390c
sub esp, 8
lea ecx, [ebp - 0x44]
push edx
push 1
mov dl, 1
call fcn.10109de0
add esp, 0x10
test al, al
je 0x10033970
mov byte [ebp - 0x5d], 0
call fcn.1004c140
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10033946
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov cl, 1
setne al
jmp 0x1003394b
mov al, byte [ebp - 0x5d]
xor cl, cl
xor edx, edx
movzx eax, al
test cl, cl
cmove eax, edx
test al, al
je 0x10033995
sub esp, 8
lea ecx, [ebp - 0x2c]
push edx
push 1
mov dl, 1
call fcn.10109de0
add esp, 0x10
test al, al
jne 0x10033995
call fcn.1004c140
push str.Failed_to_remove_ACCC.aamref.
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov byte [ebp - 0x5d], 0
jmp 0x100339b8
call fcn.1004c140
push str.AAMRefs_Folders_deleted_successfully
push 0x101b03e4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov byte [ebp - 0x5d], 1
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp edx, 8
jb 0x100339f5
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100339eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ab3
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x10033a3f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10033a35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ab3
push edx
push ecx
call fcn.1015cb05
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x10033a89
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10033a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ab3
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015c7a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10168635
call fcn.10168635
call fcn.10168635
int3