Function at 0x10007dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7578
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100c66d0]
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 eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [ebp - 0x144]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x164], ebx
call fcn.10033d80
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xf0]
mov dword [ebp - 0x168], 0x80000001
call fcn.10033cf0
mov dword [ebp - 0x16c], eax
lea esi, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.100256e0
mov esi, eax
push 0x100b6220
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x160]
push edx
mov byte [ebp - 4], 2
call fcn.100069b0
add esp, 0xc
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 4
cmp dword [0x100c9918], ebx
jne 0x10007ea8
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10007e9d
mov esi, eax
call fcn.10035040
jmp 0x10007e9f
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0x16c]
push ebx
lea eax, [ebp - 0x168]
push eax
mov ecx, edi
lea esi, [ebp - 0x64]
call fcn.100357d0
mov esi, 8
cmp dword [ebp - 0xc0], esi
jb 0x10007edc
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
cmp dword [ebp - 0x14c], esi
jb 0x10007f0d
mov eax, dword [ebp - 0x160]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], ebx
mov word [ebp - 0x160], cx
cmp dword [ebp - 0x114], esi
jb 0x10007f39
mov edx, dword [ebp - 0x128]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], ebx
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xdc], esi
jb 0x10007f69
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0x54], ebx
ja 0x10008455
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x168], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x10007fbe
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x10007fde
cmp dword [ebp - 0x168], ebx
je 0x10007fde
lea esi, [ebp - 0x80]
call fcn.10033db0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x164], 1
jmp 0x10007ff7
lea esi, [ebp - 0x48]
call fcn.10033d80
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x164], 2
push eax
lea ecx, [ebp - 0x144]
call fcn.100050d0
test byte [ebp - 0x164], 2
je 0x10008031
and dword [ebp - 0x164], 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x10008025
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], 0xa
test byte [ebp - 0x164], 1
je 0x1000805a
and dword [ebp - 0x164], 0xfffffffe
cmp dword [ebp - 0x6c], 8
jb 0x1000805a
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0x80]
mov dword [ebp - 0x16c], 0x80000002
call fcn.10033cf0
mov dword [ebp - 0x168], eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.100256e0
mov esi, eax
push 0x100b6220
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov byte [ebp - 4], 0xe
call fcn.100069b0
add esp, 0xc
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 0x10
cmp dword [0x100c9918], ebx
jne 0x100080ef
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x100080e4
mov esi, eax
call fcn.10035040
jmp 0x100080e6
xor eax, eax
mov byte [ebp - 4], 0x10
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0x168]
push ebx
lea eax, [ebp - 0x16c]
push eax
mov ecx, edi
lea esi, [ebp - 0x48]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x1000812a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x1000814c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0xf8], esi
jb 0x1000816f
mov edx, dword [ebp - 0x10c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], ax
cmp dword [ebp - 0x88], esi
jb 0x1000819b
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x6c], esi
jb 0x100081c5
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x54], ebx
ja 0x10008361
mov edi, dword [0x100c9918]
cmp edi, ebx
jne 0x10008216
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x10008208
mov esi, eax
call fcn.10035040
jmp 0x1000820a
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0xa
mov dword [0x100c9918], edi
lea ebx, [ebp - 0xb8]
call fcn.10035310
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.100050d0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], 8
jb 0x1000824a
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
mov edi, 8
xor ebx, ebx
xor ecx, ecx
push 1
mov word [ebp - 0x48], cx
push 0x100b6220
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
call fcn.10005fb0
push ebx
lea edx, [ebp - 0x48]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x1d
call fcn.10005d70
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], edi
jb 0x10008299
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.100256e0
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x1e
call fcn.10005d70
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], edi
jb 0x100082d0
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.10025710
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
call fcn.10005d70
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], edi
jb 0x10008307
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x10008547
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x1000831b
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x10008547
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
xor eax, eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005150
mov byte [ebp - 4], 0x20
or dword [ebp - 0x164], 4
lea eax, [ebp - 0x48]
jmp 0x10008575
lea esi, [ebp - 0xb8]
call fcn.100256e0
mov esi, eax
mov byte [ebp - 4], 0x15
push 1
xor eax, eax
push 0x100b6220
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10005fb0
mov eax, esi
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x9c]
mov byte [ebp - 4], 0x16
call fcn.10006920
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.10034930
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.100050d0
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x100083d7
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], edi
jb 0x100083ff
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x18], edi
jb 0x10008425
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xa4], edi
jb 0x10008251
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.1003d468
add esp, 4
jmp 0x10008251
lea esi, [ebp - 0xb8]
call fcn.100256e0
mov esi, eax
mov byte [ebp - 4], 0x19
push 1
xor edx, edx
push 0x100b6220
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.10005fb0
mov eax, esi
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x9c]
mov byte [ebp - 4], 0x1a
call fcn.10006920
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.10034930
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x100084cb
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], esi
jb 0x100084f3
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x18], esi
jb 0x10008519
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0xa4], esi
jb 0x10008540
mov eax, dword [ebp - 0xb8]
push eax
call fcn.1003d468
add esp, 4
mov edi, esi
jmp 0x10008251
push ebx
xor edx, edx
push 0x100b61ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.10005fb0
mov dword [ebp - 4], 0x21
or dword [ebp - 0x164], edi
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x174]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
push eax
mov ecx, esi
call fcn.100050d0
mov eax, dword [ebp - 0x164]
or eax, 0x10
test al, 8
je 0x100085cf
and eax, 0xfffffff7
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x18], edi
jb 0x100085bf
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
mov eax, dword [ebp - 0x164]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
test al, 4
je 0x100085f4
cmp dword [ebp - 0x34], edi
jb 0x100085e4
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x10008605
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x130], edi
jb 0x1000862c
mov eax, dword [ebp - 0x144]
push eax
call fcn.1003d468
add esp, 4
mov eax, esi
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.1003c5b5
mov esp, ebp
pop ebp
ret