Function at 0x4068f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d897e
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x66f33c]
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 dword [ebp - 0x124], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x138], eax
call fcn.00454543
test al, al
je 0x40694d
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
call fcn.004544b9
test al, al
je 0x406967
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x40698a
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
mov dword [ebp - 0x130], 0
call fcn.004549d8
test al, al
je 0x4069b7
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
mov ebx, dword [ebp - 0x124]
mov dword [ebp - 0x120], 0
lea eax, [ebx + 0x14]
push eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045a966
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004588b6
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004587cb
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045af6f
add esp, 0x20
mov byte [ebp - 4], 3
call fcn.00454a62
test al, al
je 0x406a5e
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00459249
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045af6f
add esp, 0x10
mov esi, dword [ebx]
mov byte [ebp - 4], 5
cmp esi, dword [ebx + 4]
je 0x406c08
cmp dword [esi + 0x14], 0x10
jb 0x406aac
mov edx, dword [esi]
jmp 0x406aae
mov edx, esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x406ac9
xor ecx, ecx
jmp 0x406ad9
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ad0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405be0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x48]
cmovae edx, ebx
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
je 0x406b65
sub edi, 4
jb 0x406b23
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x406b28
add edx, 4
add ecx, 4
sub edi, 4
jae 0x406b12
cmp edi, 0xfffffffc
je 0x406b5c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x406b55
cmp edi, 0xfffffffd
je 0x406b5c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x406b55
cmp edi, 0xfffffffe
je 0x406b5c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x406b55
cmp edi, 0xffffffff
je 0x406b5c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x406b5c
sbb eax, eax
or eax, 1
jmp 0x406b5e
xor eax, eax
test eax, eax
jne 0x406b71
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jb 0x406b71
jbe 0x406bb9
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406ba5
inc eax
cmp eax, 0x1000
jb 0x406b9c
test byte [ebp - 0x28], 0x1f
jne 0x406bd6
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x406bd6
sub ebx, eax
cmp ebx, 4
jb 0x406bd6
cmp ebx, 0x23
ja 0x406bd6
mov ebx, eax
push ebx
call fcn.00451371
add esp, 4
mov eax, dword [ebp - 0x124]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x406aa2
jmp 0x406c08
mov dword [ebp - 0x130], 1
cmp eax, 0x10
jb 0x406c08
inc eax
cmp eax, 0x1000
jb 0x406bff
test byte [ebp - 0x28], 0x1f
je 0x406bdb
call fcn.0047e982
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x406be7
call fcn.0047e982
sub ebx, eax
cmp ebx, 4
jae 0x406bf3
call fcn.0047e982
cmp ebx, 0x23
jbe 0x406bfd
call fcn.0047e982
mov ebx, eax
push ebx
call fcn.00451371
add esp, 4
call fcn.00454543
test al, al
je 0x406c2e
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
call fcn.0045483a
test al, al
je 0x406c4b
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
cmp dword [ebp - 0x130], 0
jne 0x406c5b
xor esi, esi
jmp 0x40731b
call fcn.004546e1
test al, al
je 0x406c81
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x406cac
mov eax, dword [ecx]
jmp 0x406cae
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xb8]
push edx
push eax
call fcn.00402ee0
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0xa0]
mov esi, dword [ebp - 0x124]
mov ecx, esi
push edi
push eax
call fcn.004066e0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x406daf
call fcn.004547b0
test al, al
je 0x406d04
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
cmp dword [esi + 0xb4], 0
je 0x406d34
push 1
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
lea ecx, [esi + 0x14]
mov eax, esp
push ecx
push eax
call fcn.0045a966
mov ecx, dword [esi + 0xb4]
add esp, 8
push edi
call fcn.00403a20
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40713c
lea eax, [ebp - 0x120]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x406d89
mov eax, dword [ecx]
jmp 0x406d8b
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xa0]
push edx
push eax
call fcn.00402ee0
call fcn.004571ae
add esp, 0x1c
mov dword [esi + 0x68], eax
jmp 0x40713c
call fcn.004546e1
test al, al
je 0x406dca
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.004546e1
test al, al
je 0x406df3
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x406e0f
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
mov ecx, dword [ebp - 0x128]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00405ab0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00405ab0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 8
push str.63615166036855371160304467461515
push eax
call fcn.00455d59
mov esi, eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 9
push str.95172403455928254459072330566821
push eax
call fcn.00455d59
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.0045a3d1
mov eax, dword [ebp - 0xec]
add esp, 0x1c
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x406eec
mov ecx, dword [ebp - 0x100]
inc eax
cmp eax, 0x1000
jb 0x406ee3
test cl, 0x1f
je 0x406ebf
call fcn.0047e982
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406ecb
call fcn.0047e982
sub ecx, eax
cmp ecx, 4
jae 0x406ed7
call fcn.0047e982
cmp ecx, 0x23
jbe 0x406ee1
call fcn.0047e982
mov ecx, eax
push ecx
call fcn.00451371
add esp, 4
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x406f5b
mov ecx, dword [ebp - 0x118]
inc eax
cmp eax, 0x1000
jb 0x406f52
test cl, 0x1f
je 0x406f2e
call fcn.0047e982
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406f3a
call fcn.0047e982
sub ecx, eax
cmp ecx, 4
jae 0x406f46
call fcn.0047e982
cmp ecx, 0x23
jbe 0x406f50
call fcn.0047e982
mov ecx, eax
push ecx
call fcn.00451371
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
mov esi, edi
cmp dword [ebp - 0x2c], 0x10
mov ebx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
cmp ebx, edi
cmovb esi, ebx
test esi, esi
je 0x406fd7
sub esi, 4
jb 0x406f98
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x406f9d
add edx, 4
add ecx, 4
sub esi, 4
jae 0x406f87
cmp esi, 0xfffffffc
je 0x406fd1
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x406fca
cmp esi, 0xfffffffd
je 0x406fd1
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x406fca
cmp esi, 0xfffffffe
je 0x406fd1
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x406fca
cmp esi, 0xffffffff
je 0x406fd1
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x406fd1
sbb eax, eax
or eax, 1
jmp 0x406fd3
xor eax, eax
test eax, eax
jne 0x40702c
cmp ebx, edi
jb 0x40702c
ja 0x40702c
call fcn.00461b99
mov esi, dword [ebp - 0x124]
sub esp, 0x18
mov ecx, esp
mov dword [esi + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40701f
mov eax, dword [ecx]
mov byte [eax], 0
lea eax, [esi + 0x14]
jmp 0x4070af
mov eax, ecx
mov byte [eax], 0
lea eax, [esi + 0x14]
jmp 0x4070af
call fcn.00461b99
mov esi, dword [ebp - 0x124]
sub esp, 0x18
mov ecx, esp
mov dword [esi + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x407065
mov eax, dword [ecx]
jmp 0x407067
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00405ab0
mov ecx, esi
call fcn.00406340
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x4070c6
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], eax
jb 0x4070a7
mov eax, dword [ecx]
jmp 0x4070a9
mov eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.00405ab0
mov ecx, esi
call fcn.00406340
mov dword [ebp - 0x120], eax
call fcn.00461b99
sub eax, dword [esi + 0xc]
cmp dword [ebp - 0x120], 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x70]
jne 0x4070e1
push 1
jmp 0x4070e3
push 2
cmp dword [ebp - 0x5c], 0x10
cmovae eax, dword [ebp - 0x70]
push eax
push 1
push 1
call fcn.00404c10
mov ecx, eax
call fcn.00410770
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x407111
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004053c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x40713c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004053c0
call fcn.004543ea
test al, al
je 0x407155
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x40716e
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
cmp dword [ebp - 0x120], 0
jne 0x407190
push str.size__0
push 0x89
call fcn.0045bdc5
add esp, 8
xor esi, esi
jmp 0x4072e0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], 0
call fcn.004544b9
test al, al
je 0x4071be
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
lea ecx, [ebp - 0x119]
call fcn.0041e5f0
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
lea edi, [eax + 0x44]
push edi
push ecx
lea ecx, [ebp - 0x134]
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0x119]
push dword [eax + 0x68]
call fcn.00407a80
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x4072b4
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4072b4
push eax
push ecx
call fcn.00409ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4072d5
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0045a966
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x407245
mov eax, dword [eax]
push eax
push 0x89
call fcn.0045bdc5
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x118]
call fcn.00412280
push dword [ebp - 0x12c]
lea eax, [ebp - 0x118]
push eax
call fcn.00405500
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x407283
mov eax, dword [eax]
push eax
push 0x89
call fcn.0045bdc5
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x118]
call fcn.00412280
push str.hMoudle__NULL
push 0x89
call fcn.0045bdc5
add esp, 8
jmp 0x4072d5
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0x89
call fcn.0045bdc5
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x119]
call fcn.00428280
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x4072fe
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x407330
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004053c0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 8
jb 0x407360
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x407392
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004053c0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 8
jb 0x4073c2
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xd8], 0
cmp eax, 8
jb 0x4073fd
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00403100
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp ecx, 8
jb 0x407435
inc ecx
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call fcn.00403100
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.0045132d
mov esp, ebp
pop ebp
ret 0xc