Function at 0x42f1d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49fd70
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x4c], 2
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f219
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], 3
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f248
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
mov byte [esp + 0x4c], 4
call fcn.00445180
mov byte [esp + 0x4c], 5
mov ecx, dword [eax]
push 0x4addc0
push ecx
lea edx, [esp + 0x24]
push 0x4adb90
push edx
call fcn.00402a20
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f2c4
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], 6
mov ebp, dword [esp + 0x58]
push ebp
lea ecx, [esp + 0x1c]
push str._s.lnk
push ecx
call fcn.00402a20
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x2b70]
add esp, 8
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
add esp, 4
push eax
call fcn.00428320
mov edi, eax
mov bl, 7
lea esi, [esp + 0x5c]
mov byte [esp + 0x54], bl
call fcn.00445180
mov byte [esp + 0x54], 8
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push str._scache_s.ico
push eax
call fcn.00402a20
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f36d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f646
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f3bf
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
mov byte [esp + 0x4c], 9
mov eax, dword [esp + 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov dword [esp + 0x34], eax
call fcn.00402840
lea ecx, [esp + 0x2c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00428320
add esp, 8
mov bl, 0xa
mov byte [esp + 0x4c], bl
mov edx, dword [eax]
mov eax, dword [esp + 0x60]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x2c]
add esp, 4
push eax
call fcn.00428320
add esp, 8
mov byte [esp + 0x50], 0xb
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x5c]
push 0x4adb90
push edx
call fcn.00402a20
mov byte [esp + 0x5c], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f475
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f49a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x54]
push 1
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push esi
call fcn.00402840
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x58], 0xc
mov ebp, dword [esp + 0x24]
add ebp, 0xfffffff0
mov dword [esp + 0x44], esp
mov edi, esp
push ebp
call fcn.00402840
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x5c], 0xd
mov edi, dword [esp + 0x2c]
mov ebx, esp
mov dword [esp + 0x4c], esp
push ecx
mov dword [esp + 0x3c], esp
add edi, 0xfffffff0
mov dword [esp + 0x3c], esp
push edi
call fcn.00402840
mov ecx, dword [esp + 0x40]
add esp, 4
add eax, 0x10
push ebx
mov dword [ecx], eax
call fcn.00445710
add esp, 8
mov byte [esp + 0x5c], 0xe
mov ebx, dword [esp + 0x24]
push 0
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x58], esp
mov dword [esp + 0x40], esp
push ebx
call fcn.00402840
mov edx, dword [esp + 0x44]
add eax, 0x10
mov dword [edx], eax
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esp
push edi
mov byte [esp + 0x6c], 0xf
call fcn.00402840
mov ecx, dword [esp + 0x48]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov byte [esp + 0x68], 9
call fcn.0042f740
mov byte [esp + 0x4c], 6
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42f575
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x4c], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f594
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x4c], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42f5b2
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x4c], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f5d0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f5f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f617
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f63c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42f721
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f66b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f68c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f6b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f6d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f6f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f71f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x10