Function at 0x48dd70
Capabilities:
Check if file exists
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509996
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x567e00]
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 [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x2f0]
push 3
push eax
call fcn.00417040
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x48ddca
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00416690
add esp, 8
mov edx, dword [ebp - 0x2dc]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48de20
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48de16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48de16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov esi, dword [str.wtoolx]
xor eax, eax
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x2f0], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2e0], 0
push eax
mov dword [ebp - 0x2dc], 7
call fcn.00417670
push esi
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
call fcn.0040e0e0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x48ded4
mov ecx, eax
call fcn.00403430
mov ecx, dword [esi]
mov dword [ebp - 0x230], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x22c], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x48df10
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48df06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48df63
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48df73
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48df69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48df69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417670
push edi
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
call fcn.0040e0e0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x48e05e
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x48dff9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48dfef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e0ed
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x21c], 7
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x48e09a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e090
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e0ed
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48e0fd
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e0f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e0f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov esi, dword [str.linkinfo.ini]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417670
push esi
push eax
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 5
push eax
call fcn.0040e0e0
add esp, 0x14
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x48e17f
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e175
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x324], 8
lea eax, [ebp - 0x338]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0x338]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x48e1a8
xor esi, esi
jmp 0x48ee2b
cmp dword [ebp - 0x324], 8
lea edx, [ebp - 0x338]
mov dword [ebp - 0x278], 0
cmovae edx, dword [ebp - 0x338]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov ecx, edx
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e1f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.00403a70
push 0xa000
mov byte [ebp - 4], 9
call fcn.004c6f7d
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x278]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x264], 8
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push str.arguments
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2d8], 0
xor eax, eax
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.00403a70
push esi
call fcn.004c6f86
push 0xa000
mov byte [ebp - 4], 0xa
call fcn.004c6f7d
add esp, 8
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push str.taskbarpin
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2c0], 0
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e310
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c0]
call fcn.00403a70
push esi
call fcn.004c6f86
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00417670
add esp, 8
mov esi, dword [ebp - 0x354]
mov ecx, esi
mov byte [ebp - 4], 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e384
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x260]
call fcn.004038f0
push 4
push 0x52a1ec
lea ecx, [ebp - 0x260]
call fcn.004038f0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.LinkFile___s.
push str.kupdate::KDesktopLink::fixDesktopLink
push 0x2e6
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
add esp, 0x18
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x48eacc
push 0xa000
call fcn.004c6f7d
add esp, 4
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push 0x51bd74
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e470
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.00403a70
push esi
call fcn.004c6f86
push 0xa000
mov byte [ebp - 4], 0xd
call fcn.004c6f7d
add esp, 8
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push str.description
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x320], 0
xor eax, eax
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 7
mov word [ebp - 0x320], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e500
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x320]
call fcn.00403a70
push esi
call fcn.004c6f86
push 0xa000
mov byte [ebp - 4], 0xe
call fcn.004c6f7d
add esp, 8
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push str.callpath
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x308], 0
xor eax, eax
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e590
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x308]
call fcn.00403a70
push esi
call fcn.004c6f86
cmp dword [ebp - 0x2f4], 8
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0xf
cmovae eax, dword [ebp - 0x308]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004182e0
add esp, 0xc
mov edx, dword [ebp - 0x2f4]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x48e620
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e616
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e616
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x27c], 8
mov word [ebp - 0x308], ax
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
mov dword [ebp - 0x2f4], 7
call fcn.00417760
add esp, 4
test al, al
jne 0x48e6e9
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417a40
add esp, 0xc
lea ecx, [ebp - 0x290]
push eax
call fcn.00405690
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x48e6e9
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e6df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e6df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push 0xa000
call fcn.004c6f7d
add esp, 4
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x278]
push ecx
push 0x5000
push esi
push 0x516c74
push str.iconlocation
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2f0], 0
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e750
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f0]
call fcn.00403a70
push esi
call fcn.004c6f86
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417670
add esp, 0xc
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0x13
push ecx
push eax
push dword [ebp - 0x354]
lea ecx, [ebp - 0x350]
call fcn.0040e520
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x48e7f7
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e7ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e84a
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov edx, dword [ebp - 0x2dc]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x48e85a
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e850
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
call fcn.00416b00
add esp, 4
test al, al
je 0x48e92e
cmp dword [ebp - 0x33c], 8
lea eax, [ebp - 0x350]
cmovae eax, dword [ebp - 0x350]
push eax
call fcn.00416b00
add esp, 4
test al, al
je 0x48e92e
cmp dword [ebp - 0x2ac], 8
lea ebx, [ebp - 0x2c0]
lea edi, [ebp - 0x320]
cmovae ebx, dword [ebp - 0x2c0]
lea esi, [ebp - 0x2d8]
cmp dword [ebp - 0x30c], 8
lea edx, [ebp - 0x350]
push 0
cmovae edi, dword [ebp - 0x320]
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x2c4], 8
lea eax, [ebp - 0x248]
push ebx
cmovae esi, dword [ebp - 0x2d8]
cmp dword [ebp - 0x33c], 8
push edi
cmovae edx, dword [ebp - 0x350]
cmp dword [ebp - 0x27c], 8
push esi
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x234], 8
push edx
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call fcn.0048d7e0
add esp, 0x1c
jmp 0x48e961
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.fixTaskbarpinLink_fail__no_icon___s.
push str.kupdate::KDesktopLink::fixDesktopLink
push 0x2f3
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
add esp, 0x18
mov edx, dword [ebp - 0x33c]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x48e9a5
mov ecx, dword [ebp - 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48eab6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 7
mov word [ebp - 0x350], ax
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x48ea06
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e9fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48eab6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x30c]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x48ea63
mov ecx, dword [ebp - 0x320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ea59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48eab6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 7
mov word [ebp - 0x320], ax
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x48eac6
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48eabc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48eabc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov esi, dword [ebp - 0x354]
call fcn.004554f0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
mov bl, al
cmovae ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x354], ecx
test bl, bl
je 0x48ecb3
test ecx, ecx
je 0x48ecaf
push esi
call fcn.0048f160
add esp, 4
test eax, eax
jne 0x48ec9b
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0
cmovae eax, dword [ebp - 0x260]
push 0
push 0
push eax
push str.taskbarunpin
push 0
call fcn.004e7da0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0
cmovae eax, dword [ebp - 0x260]
push 0
push 0
push eax
push str.taskbarpin
push 0
call fcn.004e7da0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.fixTaskbarpinLink_succeeded___s.
push str.kupdate::KDesktopLink::fixDesktopLink
push 0x30e
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
add esp, 0x48
cmp dword [ebp - 0x2b0], 0
je 0x48ec9b
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push 0x517cd0
cmovae eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x48ec9b
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0048eeb0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x17
cmovae eax, dword [ebp - 0x248]
push eax
push str.getTaskbarPinned___s.
push str.kupdate::KDesktopLink::fixDesktopLink
push 0x313
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
add esp, 0x20
cmp dword [ebp - 0x238], 0
je 0x48ec55
cmp dword [ebp - 0x2c4], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x2d8]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0048f1e0
add esp, 8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x48ec9b
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ec91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ec91
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push esi
call fcn.0048f160
add esp, 4
test eax, eax
je 0x48ecaf
mov esi, 1
jmp 0x48ecb9
xor esi, esi
jmp 0x48ecb9
mov esi, dword [ebp - 0x354]
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x48ecf9
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ecef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edfe
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x48ed56
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ed4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edfe
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2c4]
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
cmp edx, 8
jb 0x48edaf
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48eda5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edfe
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
cmp edx, 8
jb 0x48ee0e
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ee04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ee04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x324]
cmp eax, 8
jb 0x48ee49
inc eax
lea ecx, [ebp - 0x338]
push eax
push dword [ebp - 0x338]
call fcn.00411ac0
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], ax
cmp ecx, 8
jb 0x48ee84
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00411ac0
mov eax, esi
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.004c6f8b
mov esp, ebp
pop ebp
ret