Function at 0x41f4a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4926a1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c51d0]
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 eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x30], eax
push 0x4a59e4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00401c40
push fcn.00401670
push 0x4072c0
push 4
push 4
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.004715a2
push str.SOFTWAREHintsoft
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401c40
mov edx, dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
mov ebx, 0x80000002
push edx
push ebx
mov dword [ebp - 0x2c], ebx
call esi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x28]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f568
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x41f57b
push 6
push str.pubwin
lea ecx, [ebp - 0x24]
call fcn.00401b40
push str.SOFTWARESicent
lea ecx, [ebp - 0x28]
call fcn.00401c40
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push edx
push ebx
mov dword [ebp - 0x2c], ebx
call esi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x28]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f5c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x41f5d8
push 4
push str.wxwg
lea ecx, [ebp - 0x20]
call fcn.00401b40
push str.SOFTWAREGoyoo
lea ecx, [ebp - 0x28]
call fcn.00401c40
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push edx
push ebx
mov dword [ebp - 0x2c], ebx
call esi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x28]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f622
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x41f635
push 8
push str.i8client
lea ecx, [ebp - 0x1c]
call fcn.00401b40
push str.SOFTWARE_
lea ecx, [ebp - 0x28]
call fcn.00401c40
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push edx
push ebx
mov dword [ebp - 0x2c], ebx
call esi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x28]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f67f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41f692
push 2
push 0x4a8810
lea ecx, [ebp - 0x18]
call fcn.00401b40
push 0x24
lea esi, [ebp - 0x2c]
call fcn.0040e9c0
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ebx, 0x4a8818
mov byte [ebp - 4], 3
call fcn.00406710
add esp, 0xc
mov ebx, 5
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f6d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f6fb
test al, 0x10
jne 0x41f6fb
push 2
push 0x4a884c
lea ecx, [ebp - 0x14]
call fcn.00401b40
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push ecx
push edx
push eax
lea ecx, [ebp - 0x30]
push str._s__s__s__s__s
push ecx
call fcn.0040d860
mov eax, 1
add esp, 0x1c
test byte [0x4d01b0], al
jne 0x41f74c
or dword [0x4d01b0], eax
mov byte [ebp - 4], 6
call fcn.00425570
push 0x49d140
call fcn.0046eb48
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x30]
mov edi, 0x4d0194
call fcn.00404ef0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f77c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401670
push ebx
push 4
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0
call fcn.0046f660
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f7b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0046e885
mov esp, ebp
pop ebp
ret