Function at 0x1003a7f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ace1b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x98], eax
mov dword [eax + 4], 0
add eax, 0x2c
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x1003a854
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
or edi, 0xffffffff
mov edx, SysReAllocString
cmp esi, 8
jae 0x1003a881
movups xmm0, xmmword [eax]
mov eax, 7
mov dword [ebp - 0x94], eax
movups xmmword [ebp - 0x88], xmm0
mov edi, dword [ebp - 0x88]
jmp 0x1003a90b
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, edx
mov dword [ebp - 0x94], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003a8a4
or ecx, 0xffffffff
jmp 0x1003a8ac
cmp ecx, 0x1000
jb 0x1003a8d0
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edi
push eax
call fcn.10076018
add esp, 4
test eax, eax
je 0x1003af09
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1003a8e3
test ecx, ecx
je 0x1003a8e1
push ecx
call fcn.10076018
add esp, 4
mov edi, eax
jmp 0x1003a8e3
xor edi, edi
lea eax, [esi*2 + 2]
mov dword [ebp - 0x88], edi
push eax
push dword [ebp - 0x8c]
push edi
call fcn.10082cf0
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov edx, SysReAllocString
mov ecx, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esi
cmp ecx, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x18], 0
cmovae eax, edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x8c], eax
cmp esi, 8
jae 0x1003a952
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1003a9dc
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, edx
mov dword [ebp - 0x90], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003a975
or ecx, 0xffffffff
jmp 0x1003a97d
cmp ecx, 0x1000
jb 0x1003a9a6
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10076018
add esp, 4
test eax, eax
je 0x1003af09
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1003a9b9
test ecx, ecx
je 0x1003a9b7
push ecx
call fcn.10076018
add esp, 4
mov ecx, eax
jmp 0x1003a9b9
xor ecx, ecx
lea eax, [esi*2 + 2]
mov dword [ebp - 0x28], ecx
push eax
push dword [ebp - 0x8c]
push ecx
call fcn.10082cf0
mov eax, dword [ebp - 0x90]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
push 8
push str..asyn.on
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1003b630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003aa34
mov eax, dword [ebp - 0x98]
mov dword [eax + 0xc], 3
mov dword [eax + 4], 1
lea ecx, [ebp - 0x28]
call fcn.10011990
lea ecx, [ebp - 0x88]
call fcn.10011990
jmp 0x1003aeee
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0x30], 0
cmovae eax, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x90], eax
cmp esi, 8
jae 0x1003aa70
movups xmm0, xmmword [eax]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x1003aaff
mov eax, esi
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x8c], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003aa98
or ecx, 0xffffffff
jmp 0x1003aaa0
cmp ecx, 0x1000
jb 0x1003aac9
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10076018
add esp, 4
test eax, eax
je 0x1003af09
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1003aadc
test ecx, ecx
je 0x1003aada
push ecx
call fcn.10076018
add esp, 4
mov ecx, eax
jmp 0x1003aadc
xor ecx, ecx
lea eax, [esi*2 + 2]
mov dword [ebp - 0x40], ecx
push eax
push dword [ebp - 0x90]
push ecx
call fcn.10082cf0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
push 0xe
push str..asyn.debug.on
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1003b630
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003ab4c
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x40]
mov dword [eax + 0xc], 4
mov dword [eax + 4], 1
call fcn.10011990
jmp 0x1003aa1c
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0x48], 0
cmovae eax, edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x90], eax
cmp esi, 8
jae 0x1003ab88
movups xmm0, xmmword [eax]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x1003ac17
mov eax, esi
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x8c], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003abb0
or ecx, 0xffffffff
jmp 0x1003abb8
cmp ecx, 0x1000
jb 0x1003abe1
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10076018
add esp, 4
test eax, eax
je 0x1003af09
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1003abf4
test ecx, ecx
je 0x1003abf2
push ecx
call fcn.10076018
add esp, 4
mov ecx, eax
jmp 0x1003abf4
xor ecx, ecx
lea eax, [esi*2 + 2]
mov dword [ebp - 0x58], ecx
push eax
push dword [ebp - 0x90]
push ecx
call fcn.10082cf0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esi
push 3
push 0x100b5e04
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.1003b630
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003ac6c
mov eax, dword [ebp - 0x98]
mov dword [eax + 0xc], 1
mov dword [eax + 4], 1
lea ecx, [ebp - 0x58]
call fcn.10011990
lea ecx, [ebp - 0x40]
call fcn.10011990
jmp 0x1003aa1c
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0x60], 0
cmovae eax, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x90], eax
cmp esi, 8
jae 0x1003aca8
movups xmm0, xmmword [eax]
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm0
jmp 0x1003ad37
mov eax, esi
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x8c], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1003acd0
or ecx, 0xffffffff
jmp 0x1003acd8
cmp ecx, 0x1000
jb 0x1003ad01
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10076018
add esp, 4
test eax, eax
je 0x1003af09
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1003ad14
test ecx, ecx
je 0x1003ad12
push ecx
call fcn.10076018
add esp, 4
mov ecx, eax
jmp 0x1003ad14
xor ecx, ecx
lea eax, [esi*2 + 2]
mov dword [ebp - 0x70], ecx
push eax
push dword [ebp - 0x90]
push ecx
call fcn.10082cf0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esi
push 9
push str..debug.on
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.1003b630
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003ad84
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x70]
mov dword [eax + 0xc], 2
mov dword [eax + 4], 1
call fcn.10011990
jmp 0x1003ac57
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1003adbe
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003adb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003af09
push edx
push ecx
call fcn.10076048
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x1003ae0c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ae02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003af09
push edx
push ecx
call fcn.10076048
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x1003ae5a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ae50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003af09
push edx
push ecx
call fcn.10076048
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1003aea4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ae9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003af09
push edx
push ecx
call fcn.10076048
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x1003aeee
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003aee4
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003af09
push ecx
push edi
call fcn.10076048
add esp, 8
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.100763b4
mov esp, ebp
pop ebp
ret
call fcn.10087516
int3