Function at 0x40de70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a61fd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.004064d0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004050a0
push 0x15
push str.selfdefplusseoyb1.ncx
lea ecx, [ebp - 0x28]
call fcn.0040b370
call fcn.00407460
push 0
push ecx
push 0
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00407880
test eax, eax
je 0x40e1ab
cmp dword [ebp - 0x30], 0
je 0x40df42
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.00401800
cmp dword [eax + 0x14], 8
jb 0x40df31
mov eax, dword [eax]
push eax
push ecx
mov edx, esi
mov ecx, str.CMSPathSetup
call fcn.00421880
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40df80
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2ec
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
cmp edx, 8
jb 0x40df93
test ecx, ecx
je 0x40e2a0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x40e2a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x40]
cmp edx, 8
cmovae eax, ecx
push eax
call esi
test eax, eax
je 0x40e29a
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00401cd0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x40e00d
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push ecx
call fcn.00415ff0
add esp, 4
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov dword [ebp - 0x28], 0
cmovae esi, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401cd0
cmp dword [ebp - 0x18], 0
je 0x40e1ec
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push ecx
cmovae edx, dword [ebp - 0x28]
mov ecx, esi
call fcn.00422ce0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e09d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f1
push edx
push ecx
call fcn.0044434d
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00401dc0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040a840
call fcn.0040d8b0
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x40e22d
cmp edx, 8
jb 0x40e119
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e10f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f6
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40e153
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e149
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f6
push edx
push ecx
call fcn.0044434d
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 0x40e1a1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e197
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f6
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, 1
jmp 0x40e2d2
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40df80
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2ec
jmp 0x40df76
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e09d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f1
jmp 0x40e093
cmp edx, 8
jb 0x40e264
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e25a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f6
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40e29a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f6
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40e2d0
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e2c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2fb
push edx
push ecx
call fcn.0044434d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
call fcn.00447297
call fcn.00447297
call fcn.00447297
int3