Function at 0x42da60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2370
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x678390]
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
xor eax, eax
mov dword [ebp - 0xa4], eax
mov eax, dword [0x67d4e4]
test eax, eax
jne 0x42dada
push 0x15c
call fcn.0047045e
add esp, 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42dacc
mov ecx, eax
call fcn.00444f40
jmp 0x42dace
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x67d4e4], eax
mov ecx, eax
call fcn.00474b54
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 0x42db00
xor ecx, ecx
jmp 0x42db14
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42db05
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402b90
mov dword [ebp - 4], 1
call fcn.00453bb5
test al, al
je 0x42db3f
add eax, dword [ecx]
mov al, 0xa6
invalid
call fcn.004538be
test al, al
je 0x42db67
and cl, byte [eax + 0x1059327f]
sbb al, 9
add ah, cl
xchg edi, eax
insd dword es:[edi], dx
nop
cli
fldcw word [ebp - 0x24a5884f]
lcall 0xd0dd, 0xdeaedb50
enter 0x14e9, 0x5b
call fcn.004536db
test al, al
je 0x42db86
jg 0x42db0e
xchg edi, eax
xchg edx, eax
add dword [edi], ebp
cmp al, 0x3b
sbb esi, dword [esi - 0x73]
and ah, byte [eax + 0x68a80dbe]
ror dword [edx + ebx*8], cl
jb 0x42dbf7
push 0xa
push str.WnTool.exe
lea ecx, [ebp - 0x40]
call fcn.00405d30
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 0x42dbd0
and eax, 0x8d47d83
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0x5ec8e8
push eax
call int.0045e6c6
add esp, 0x14
mov dword [ebp - 0xa4], eax
call fcn.00453a17
test al, al
je 0x42dbf0
cmp edi, dword [ebx + ecx]
push ebx
popfd
cmp esi, dword [edi + 0x62b7165f]
xlatb
scasb al, byte es:[edi]
push 0xcb407166
mov esi, 0xfd7392f7
call fcn.004537aa
test al, al
je 0x42dc11
wait
sti
js 0x42dbaa
lodsd eax, dword [esi]
ret
call fcn.00453834
test al, al
je 0x42dc32
call 0x6deab680
loopne 0x42dc9c
in eax, dx
xchg esi, eax
rcl ebx, cl
adc cl, byte [ebx - 0x23e8380a]
dec edx
clc
mov eax, dword [0xa32a9895]
mov edi, dword [ebp - 0xa4]
test edi, edi
jne 0x42e0c3
push 0x20
push str.51298224030128170638112326144266
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
call fcn.00402970
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.00454157
add esp, 8
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
push 1
push 0x5ea6bc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], 0xf
pop esi
add byte [ebp + 0x45c6a84d], cl
cld
add al, 0xc7
inc ebp
mov esp, 0xf
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x58], 0
call fcn.00402970
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
mov dword [ebp - 0x14], 0xf
cmovae edx, dword [ebp - 0x70]
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 5
cmp byte [edx], 0
jne 0x42dcde
xor ecx, ecx
jmp 0x42dcec
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dce3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402970
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004589cb
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x42dd26
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402c90
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 0x42dd51
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402c90
call fcn.00453696
test al, al
je 0x42dd74
sbb cl, byte [eax - 0x78]
aas
dec eax
mov byte [edi], bh
jo 0x42dd59
rcl dh, 0xe
wait
push ss
out dx, eax
mov ebx, 0xc9b15634
add ebx, dword [esi + 0x3e]
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ebx
cmp ebx, dword [ebp - 0xac]
je 0x42df66
nop dword [eax]
call fcn.00453903
test al, al
je 0x42dda9
cdq
sub al, 5
push edx
ror dword [eax - 0x25bcd58e], 0xcd
dec esi
ljmp 0x5ed6
call fcn.00453c84
test al, al
je 0x42ddd8
pop esi
inc eax
int 0x76
add dword [edx + 8], edi
inc edi
push edx
add ebp, ecx
and al, ah
call 0xd5e69dc4
invalid
call fcn.00453696
test al, al
je 0x42ddff
aas
mov eax, dword [0xfb63c0ca]
and al, bh
ja 0x42de44
or dword [edi + 0x5e], ebx
retf
cmp dword [ebx + 0x14], 0x10
jb 0x42de09
mov edx, dword [ebx]
jmp 0x42de0b
mov edx, ebx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x42de26
xor ecx, ecx
jmp 0x42de39
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42de30
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402970
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
inc ebp
test al, 0xc6
inc ebp
cld
pop es
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045dd82
add esp, 8
mov eax, dword [0x67d4e4]
mov byte [ebp - 4], 8
test eax, eax
jne 0x42de93
push 0x15c
call fcn.0047045e
add esp, 4
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42de88
mov ecx, eax
call fcn.00444f40
jmp 0x42de8a
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x67d4e4], eax
mov ecx, eax
call fcn.00474b54
mov edx, eax
cmp word [edx], 0
jne 0x42dea6
xor ecx, ecx
jmp 0x42debf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42deb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402b90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405c20
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 0x42dfb9
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0x5ec8e8
push eax
call int.0045e6c6
mov edi, eax
add esp, 0x14
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x42dfbf
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42df37
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402ce0
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 0x42df60
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402c90
mov ebx, dword [ebp - 0xb0]
mov byte [ebp - 4], 3
test ebx, ebx
je 0x42e07d
push dword [ebp - 0xbc]
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xac]
push ebx
call fcn.00406300
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0xb0]
add esp, 0x10
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x42e01b
call fcn.00485fa1
mov edi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42dfd4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402ce0
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 0x42e001
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402c90
add ebx, 0x18
mov dword [ebp - 0xb4], ebx
cmp ebx, dword [ebp - 0xac]
jne 0x42dd90
jmp 0x42df60
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x42e056
test bl, 0x1f
je 0x42e032
call fcn.00485fa1
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x42e03e
call fcn.00485fa1
sub ebx, eax
cmp ebx, 4
jae 0x42e04a
call fcn.00485fa1
cmp ebx, 0x23
jbe 0x42e054
call fcn.00485fa1
mov ebx, eax
push ebx
call fcn.00470491
add esp, 4
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x42e092
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402c90
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 0x42e0c3
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402c90
call fcn.00453b70
test al, al
je 0x42e0dd
xchg ecx, eax
mov eax, dword [0xfb562cf0]
push edx
sub byte [esi + 0x45], dh
pop ebp
stosb byte es:[edi], al
xchg dword [edi + esi*2], esi
mov al, byte [0x48858b3d]
invalid
mov eax, dword [ebp - 0xb8]
add eax, 0x94
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045e234
add esp, 8
xor ebx, ebx
mov byte [ebp - 4], 0xa
test edi, edi
setne bl
mov dword [ebp - 0xb8], ebx
call fcn.00453ae6
test al, al
je 0x42e135
jmp 0x2e3983c1
call fcn.004538be
test al, al
je 0x42e15e
pop edi
jno 0x42e1a7
fadd dword [ebx]
mov byte [ecx - 0x7c36ec2e], dh
sar dword [eax + 0x20], 0xc
lds esp, [edx - 0x5c]
insd dword es:[edi], dx
mov edx, 0x76e88b6a
mov eax, dword [0xb9504400]
or cl, bh
mov al, byte [0xff74bd83]
invalid
cmp dword [ebp - 0x8c], 0x10
lea esi, [ebp - 0xa0]
mov eax, dword [0x67d4e8]
cmovae esi, dword [ebp - 0xa0]
test eax, eax
jne 0x42e1aa
push 0xdc
call fcn.0047045e
add esp, 4
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x42e19f
mov ecx, eax
call fcn.0040d030
jmp 0x42e1a1
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x67d4e8], eax
aam 0x67
add byte [ebx + 0x56], dl
push ebx
push esi
push 1
push 1
mov ecx, eax
call fcn.004113b0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x42e1d5
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00402c90
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 8
jb 0x42e205
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402ce0
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.0047070c
mov esp, ebp
pop ebp
ret 4