Function at 0x42cfd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db520
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
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 - 0xb8], ecx
mov eax, dword [0x6743e0]
mov dword [ebp - 0xb0], 0
test eax, eax
jne 0x42d04c
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42d03e
mov ecx, eax
call fcn.00443700
jmp 0x42d040
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x42d072
xor ecx, ecx
jmp 0x42d086
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d077
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403000
mov dword [ebp - 4], 1
call fcn.00454993
test al, al
je 0x42d0b7
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x42d0df
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x42d0f8
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x42d114
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
push 0xb
push str.WinTool.exe
lea ecx, [ebp - 0x40]
call fcn.00405290
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 0x42d15e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push str.f6b5bc
push eax
call fcn.00463b8d
add esp, 0x14
mov dword [ebp - 0xb0], eax
call fcn.00454543
test al, al
je 0x42d17e
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 0x42d198
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 0x42d1bb
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
cmp dword [ebp - 0xb0], 0
jne 0x42d603
push 0x28
push str.9532841455134163550056702118044132000157
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00405be0
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00455d59
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
push 1
push 0x5e33a8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00405be0
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
mov dword [ebp - 0x14], 0xf
cmovae edx, dword [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 5
cmp byte [edx], 0
jne 0x42d27e
xor ecx, ecx
jmp 0x42d28c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d283
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00405be0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045a542
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x42d2c6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004053c0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x42d2f1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004053c0
call fcn.0045469c
test al, al
je 0x42d315
pop esp
push esp
pop esi
pop esi
pop edx
push ebx
push esi
pop esi
push esp
pop eax
pop edx
pop esi
push ebx
pop ecx
pop ecx
pop edx
push eax
pop ebp
push edx
pop eax
pop edx
pop eax
push ecx
pop edx
pop ecx
pop edi
pop ecx
mov ebx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], ebx
cmp ebx, dword [ebp - 0xa8]
je 0x42d508
nop dword [eax]
call fcn.004544b9
test al, al
je 0x42d35c
pop esi
push ebx
pop edi
push esi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ecx
pop ecx
pop edx
pop edx
pop esp
push ebx
push ebx
push esp
pop eax
pop ebp
push esi
pop eax
pop edx
pop edi
push eax
pop ebx
push ebp
push eax
pop esi
push eax
mov ebx, dword [ebp - 0xb4]
cmp dword [ebx + 0x14], 0x10
jb 0x42d366
mov edx, dword [ebx]
jmp 0x42d368
mov edx, ebx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x42d383
xor ecx, ecx
jmp 0x42d391
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d388
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00405be0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045a966
add esp, 8
mov eax, dword [0x6743e0]
mov byte [ebp - 4], 8
test eax, eax
jne 0x42d3eb
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42d3e0
mov ecx, eax
call fcn.00443700
jmp 0x42d3e2
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
cmp word [edx], 0
jne 0x42d3fe
xor ecx, ecx
jmp 0x42d412
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d403
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403000
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405180
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 0x42d46b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push str.f6b5bc
push eax
call fcn.00463b8d
add esp, 0x14
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x42d4c4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42d480
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x42d4ad
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004053c0
add ebx, 0x18
mov dword [ebp - 0xb4], ebx
cmp ebx, dword [ebp - 0xa8]
jne 0x42d330
jmp 0x42d502
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42d4d9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x42d502
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004053c0
mov ebx, dword [ebp - 0xac]
mov byte [ebp - 4], 3
test ebx, ebx
je 0x42d5bd
push dword [ebp - 0xbc]
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xa8]
push ebx
call fcn.00405de0
mov ecx, dword [ebp - 0xa4]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0xac]
add esp, 0x10
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x42d55b
call fcn.0047e982
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x42d596
test bl, 0x1f
je 0x42d572
call fcn.0047e982
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x42d57e
call fcn.0047e982
sub ebx, eax
cmp ebx, 4
jae 0x42d58a
call fcn.0047e982
cmp ebx, 0x23
jbe 0x42d594
call fcn.0047e982
mov ebx, eax
push ebx
call fcn.00451371
add esp, 4
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x42d5d2
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004053c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x42d603
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004053c0
call fcn.00454588
test al, al
je 0x42d62b
pop esp
pop edx
push ecx
push esi
pop edx
pop ebx
pop edi
push esi
pop ebp
pop ecx
pop esp
push eax
pop ebp
pop edx
push ebp
pop ecx
push ebx
pop esi
pop eax
pop edx
push ebx
push esi
pop ecx
push ebp
push ebx
pop ebp
pop ecx
push edx
push edx
pop edi
push eax
call fcn.0045469c
test al, al
je 0x42d651
pop ebx
push ecx
push ebp
pop edi
push edx
pop ecx
push esp
pop ebx
pop ecx
pop edi
push ebx
push ebx
push esp
pop edi
pop edx
push ebx
push ebx
pop edi
pop eax
pop ebp
pop esi
pop edi
pop ebx
push esp
pop ebp
pop eax
pop esi
pop edi
pop ecx
mov eax, dword [ebp - 0xb8]
add eax, 0x94
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045af6f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xb0], eax
setne al
mov dword [ebp - 0xb8], eax
call fcn.00454588
test al, al
je 0x42d69c
pop edx
pop edi
push edx
pop ebx
pop ebp
pop edx
push esp
pop edx
push esp
push ebp
pop ebp
pop edi
push eax
push esp
push esp
push ebx
pop edi
pop edi
call fcn.004547b0
test al, al
je 0x42d6c0
push edi
push edi
push eax
push edi
pop ecx
push ebp
push esp
pop ebp
push ebp
push ebp
pop edi
pop ebp
push ebp
pop esp
pop ecx
push esp
push eax
pop esp
push esi
pop esp
push ebp
push esi
push eax
push edi
pop edx
push edx
push esp
call fcn.00454612
test al, al
je 0x42d6db
pop edi
push edi
push ebx
push edx
pop esi
pop edi
push ebx
pop ebx
push esp
push eax
pop eax
push ebx
pop esi
push ebx
push ebx
push esp
pop ecx
pop ebx
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
mov eax, dword [0x6743d4]
cmovae esi, dword [ebp - 0xa0]
test eax, eax
jne 0x42d727
push 0x104
call fcn.0045133e
add esp, 4
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x42d71c
mov ecx, eax
call fcn.0040cae0
jmp 0x42d71e
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x6743d4], eax
push dword [ebp - 0xb8]
mov ecx, eax
push esi
push 1
push 1
call fcn.00410df0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x42d757
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004053c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 8
jb 0x42d787
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403100
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 4