Function at 0x4f7b60
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5798f1
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
mov edx, dword [0x5e736c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
mov dword [esp + 0x14], 0x80004005
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
xor edi, edi
mov dword [esp + 0x24c], edi
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x24c], 1
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x24c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x2c], eax
mov eax, dword [0x619880]
cmp eax, edi
jne 0x4f7c29
call fcn.00418600
mov dword [0x619880], eax
cmp eax, 9
jl 0x4f7d0b
push 0x208
lea ecx, [esp + 0x36]
push edi
push ecx
mov word [esp + 0x3c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4f7c61
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x30]
mov ebx, eax
push ecx
lea eax, [esp + 0x1c]
call fcn.00410570
push str.inf_netvwifimp.inf
lea edi, [esp + 0x1c]
call fcn.00410c20
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f7cb5
push esi
push str.PathFile__s_not_Exist
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 8
jmp 0x4f7d0b
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push 1
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ecx, [ecx]
lea ecx, [esp + 0x1c]
call fcn.005183b0
test al, al
mov ebp, dword [esp + 0x1c]
jne 0x4f7dd6
push 0x3e8
call ebx
add edi, 1
cmp edi, 6
jl 0x4f7cd0
push str.vwifimp_Device_not_Exist
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 4
call fcn.00518690
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x34]
mov ecx, 0x6180b8
push eax
push esi
push ebp
push str.KWifiCreator::_UpdateDriverForVWifiDevice_id:_s_inf:_s__time:_d__result:_x__err:_d
call fcn.00435a30
mov byte [esp + 0x264], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f7d5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x24c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f7d82
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0xfffffff0
mov dword [esp + 0x24c], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f7daa
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, edi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00569ed6
add esp, 0x23c
ret 4
cmp edi, 6
jge 0x4f7cf4
cmp dword [ebp - 0xc], 0
je 0x4f7cf4
push ebp
mov ecx, esi
call fcn.00524d00
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.00410660
add eax, 0x10
mov dword [edi], eax
call fcn.00518950
add esp, 4
test al, al
je 0x4f7e1d
mov dword [esp + 0x14], 0
jmp 0x4f7d0b
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x4f7e3d
mov ecx, dword [esp + 0x20]
push 2
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov dword [esp + 0x14], 0x80004005
jmp 0x4f7d06