Function at 0x10006460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b415
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x102159fc]
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 ebx, ecx
mov dword [ebp - 0x140], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x148], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x134], 0
push eax
call fcn.1014f9a5
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.1014e3ac
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0xcc]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1014e327
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1014fc81
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.1014f07a
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1014fc81
add esp, 0x30
mov esi, dword [ebx]
mov byte [ebp - 4], 5
cmp esi, dword [ebx + 4]
je 0x10006669
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x1000656c
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006583
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.100055e0
cmp dword [ebp - 0xa0], 0x10
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x54]
cmovae ecx, dword [ebp - 0xb4]
cmp eax, 0x10
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x44]
cmovae edx, ebx
cmp edi, dword [ebp - 0xa4]
jne 0x10006627
sub edi, 4
jb 0x100065e1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100065e6
add edx, 4
add ecx, 4
sub edi, 4
jae 0x100065d0
cmp edi, 0xfffffffc
je 0x1000661a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10006613
cmp edi, 0xfffffffd
je 0x1000661a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10006613
cmp edi, 0xfffffffe
je 0x1000661a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10006613
cmp edi, 0xffffffff
je 0x1000661a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1000661a
sbb eax, eax
or eax, 1
jmp 0x1000661c
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x100066a8
cmp eax, 0x10
jb 0x10006657
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1000664d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006df1
push ecx
push ebx
call fcn.1014b814
add esp, 8
mov eax, dword [ebp - 0x140]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x10006562
xor esi, esi
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x10006c1b
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006c11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006dec
jmp 0x10006c11
cmp eax, 0x10
jb 0x100066d8
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100066ce
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006df1
push ecx
push ebx
call fcn.1014b814
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xcc]
mov ecx, esp
push eax
call fcn.10002700
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x9c]
mov ebx, dword [ebp - 0x140]
mov ecx, ebx
push esi
push eax
call fcn.100061f0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x10006789
cmp dword [ebx + 0xb4], 0
je 0x1000673e
push 1
lea eax, [ebp - 0x9c]
push eax
sub esp, 0x18
lea edi, [ebx + 0x14]
mov eax, esp
push edi
push eax
call fcn.1014f9a5
mov ecx, dword [ebx + 0xb4]
add esp, 8
push esi
call fcn.10002a60
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006a1a
lea eax, [ebp - 0x134]
push eax
sub esp, 0x18
lea eax, [ebp - 0x9c]
mov ecx, esp
push eax
call fcn.10002700
call fcn.1014dbed
add esp, 0x1c
mov dword [ebx + 0x68], eax
jmp 0x10006a1a
lea edi, [ebx + 0x14]
push edi
lea ecx, [ebp - 0x12c]
call fcn.10004390
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x54]
call fcn.10004390
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.08257523075825350634622061083636
push eax
call fcn.1014d73d
mov esi, eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 9
push str.72604021055831532158555461380032
push eax
call fcn.1014d73d
push esi
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
call fcn.1014f57d
mov edx, dword [ebp - 0x100]
add esp, 0x1c
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10006824
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000681a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006df6
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10006877
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000686d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006dfb
push edx
push ecx
call fcn.1014b814
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.100056d0
add esp, 8
test al, al
je 0x1000689e
call fcn.10151805
sub esp, 0x18
mov dword [ebx + 0xc], eax
mov ecx, esp
push edi
jmp 0x100068d1
call fcn.10151805
sub esp, 0x18
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.10004390
mov ecx, ebx
call fcn.10005eb0
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x100068e3
sub esp, 0x18
lea eax, [ebp - 0x54]
mov ecx, esp
push eax
call fcn.10004390
mov ecx, ebx
call fcn.10005eb0
mov dword [ebp - 0x134], eax
call fcn.10151805
sub eax, dword [ebx + 0xc]
lea esi, [ebp - 0x6c]
cmp dword [ebp - 0x134], 0
mov dword [ebx + 0xc], eax
mov eax, dword [0x10216bf4]
jne 0x10006949
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x10006945
push 0xc4
call fcn.1014b7e4
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1000693a
mov ecx, eax
call fcn.1000ab50
mov byte [ebp - 4], 8
mov dword [0x10216bf4], eax
push 1
jmp 0x10006986
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x10216bf4], eax
push 1
jmp 0x10006986
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x10006984
push 0xc4
call fcn.1014b7e4
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10006979
mov ecx, eax
call fcn.1000ab50
jmp 0x1000697b
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x10216bf4], eax
push 2
push esi
push 1
push 1
mov ecx, eax
call fcn.1000bce0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x100069ca
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100069c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e00
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x10006a1a
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e05
push edx
push ecx
call fcn.1014b814
add esp, 8
cmp dword [ebp - 0x134], 0
jne 0x10006a3c
push str.size__0
push 0x89
call fcn.10150891
add esp, 8
xor esi, esi
jmp 0x10006baf
lea ecx, [ebp - 0x12d]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
call fcn.10005070
lea edi, [ebx + 0x44]
mov byte [ebp - 4], 0xd
push edi
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x12d]
push dword [ebx + 0x68]
call fcn.10007ac0
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x10006b83
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x10006b83
push eax
push ecx
call fcn.10009820
mov esi, eax
add esp, 8
test esi, esi
jne 0x10006ba4
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.1014f9a5
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x10006ace
mov eax, dword [eax]
push eax
push 0x89
call fcn.10150891
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.10001e10
mov eax, dword [ebp - 0x13c]
test eax, eax
jns 0x10006b0b
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.100026c0
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x10006b17
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.100026c0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
add esp, 8
lea eax, [ebp - 0x12]
mov edx, 7
mov dword [ebp - 0x40], edx
cmp ecx, eax
je 0x10006b47
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.10001270
mov edx, dword [ebp - 0x40]
cmp edx, 8
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push 0x89
call fcn.10150891
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.10001e10
push str.hMoudle__NULL
push 0x89
call fcn.10150891
add esp, 8
jmp 0x10006ba4
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push 0x89
call fcn.10150891
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x12d]
call fcn.10001160
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x10006bef
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006be5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e0a
push edx
push ecx
call fcn.1014b814
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
jmp 0x1000666b
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 8
jb 0x10006c76
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006c6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e0f
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 0x10
jb 0x10006cc7
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006cbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e14
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, 8
jb 0x10006d19
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006d0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e19
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
cmp edx, 8
jb 0x10006d76
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e1e
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x10006dcc
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006dc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006e23
push edx
push ecx
call fcn.1014b814
add esp, 8
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.1014bb85
mov esp, ebp
pop ebp
ret 0xc
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
int3