Function at 0x48a940
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e61f1
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x53d9f8]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x308]
mov edi, dword [ebp + 0xc]
push 3
push eax
mov dword [ebp - 0x354], ebx
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x48a99a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00416420
add esp, 8
mov edx, dword [ebp - 0x2f4]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48a9f0
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a9e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48a9e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x308], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2f4], 7
push eax
call fcn.00417450
push dword [0x4ff004]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00404b80
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x48aaa3
mov ecx, eax
call fcn.00402d80
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 0x48aadf
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48aad5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ab32
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2ac]
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 0x48ab42
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ab38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ab38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417450
push edi
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
call fcn.00404b80
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x48abd3
mov ecx, eax
call fcn.00402d80
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 0x48ac0f
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ac05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ac62
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2ac]
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 0x48ac72
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ac68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ac68
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417450
push dword [0x4ff008]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.00404b80
add esp, 0x14
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x48acf3
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ace9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ace9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x33c], 8
lea eax, [ebp - 0x350]
cmovae eax, dword [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48ad1a
xor esi, esi
jmp 0x48ba06
cmp dword [ebp - 0x33c], 8
lea edx, [ebp - 0x350]
mov dword [ebp - 0x280], 0
cmovae edx, dword [ebp - 0x350]
xor eax, eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov ecx, edx
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ad54
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.004033b0
push 0xa000
mov byte [ebp - 4], 9
call fcn.004bee3b
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x290]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x27c], 8
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push str.arguments
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2e0], 0
xor eax, eax
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 0x48add7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f0]
call fcn.004033b0
push esi
call fcn.004bee44
push 0xa000
mov byte [ebp - 4], 0xa
call fcn.004bee3b
add esp, 8
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push str.taskbarpin
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2c8], 0
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ae60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.004033b0
push esi
call fcn.004bee44
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.00417450
add esp, 8
mov ecx, ebx
mov byte [ebp - 4], 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48aed0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x260]
call fcn.00403230
push 4
push str..lnk
lea ecx, [ebp - 0x260]
call fcn.00403230
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 0x2e0
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48b69f
push 0xa000
call fcn.004bee3b
add esp, 4
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push 0x4f83e4
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x2f8], 0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48afb2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x308]
call fcn.004033b0
push esi
call fcn.004bee44
push 0xa000
mov byte [ebp - 4], 0xd
call fcn.004bee3b
add esp, 8
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push str.description
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b035
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.004033b0
push esi
call fcn.004bee44
push 0xa000
mov byte [ebp - 4], 0xe
call fcn.004bee3b
add esp, 8
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push str.callpath
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x328], 0
xor eax, eax
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], ax
lea edx, [ecx + 2]
jmp 0x48b0c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b0c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x338]
call fcn.004033b0
push esi
call fcn.004bee44
cmp dword [ebp - 0x324], 8
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 0xf
cmovae eax, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00417f60
add esp, 0xc
mov edx, dword [ebp - 0x324]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x48b150
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b146
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x328], 0
cmp dword [ebp - 0x294], 8
mov word [ebp - 0x338], ax
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
mov dword [ebp - 0x324], 7
call fcn.00417550
add esp, 4
test al, al
jne 0x48b219
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417830
add esp, 0xc
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00405210
mov edx, dword [ebp - 0x2ac]
cmp edx, 8
jb 0x48b219
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b20f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b20f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push 0xa000
call fcn.004bee3b
add esp, 4
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x290]
push ecx
push 0x5000
push esi
push 0x4f0da4
push str.iconlocation
push str.LinkInfo
call edi
mov ecx, esi
mov dword [ebp - 0x310], 0
xor eax, eax
mov dword [ebp - 0x30c], 7
mov word [ebp - 0x320], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b276
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x320]
call fcn.004033b0
push esi
call fcn.004bee44
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417450
add esp, 0xc
mov edx, eax
mov ebx, dword [edx + 0x14]
mov ecx, ebx
mov esi, dword [edx + 0x10]
sub ecx, esi
mov edi, dword [ebp - 0x310]
cmp edi, ecx
mov ecx, dword [ebp - 0x30c]
mov byte [ebp - 4], 0x13
jbe 0x48b300
mov eax, ecx
sub eax, edi
cmp eax, esi
jb 0x48b300
cmp ebx, 8
jb 0x48b2ef
mov edx, dword [edx]
push esi
push edx
push 0
lea ecx, [ebp - 0x320]
call fcn.0040a600
jmp 0x48b319
cmp ecx, 8
lea eax, [ebp - 0x320]
push edi
cmovae eax, dword [ebp - 0x320]
mov ecx, edx
push eax
call fcn.00403230
mov edx, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov ecx, dword [edx]
mov dword [ebp - 0x278], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x274], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x270], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x26c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x264], eax
xor eax, eax
mov word [edx], ax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x48b3b3
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b3a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b406
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov edx, dword [ebp - 0x30c]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x48b416
mov ecx, dword [ebp - 0x320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b40c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b40c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x310], 0
cmp dword [ebp - 0x294], 8
mov word [ebp - 0x320], ax
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
mov dword [ebp - 0x30c], 7
call fcn.004168a0
add esp, 4
test al, al
je 0x48b507
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.004168a0
add esp, 4
test al, al
je 0x48b507
cmp dword [ebp - 0x2c4], 8
lea ebx, [ebp - 0x2d8]
lea edi, [ebp - 0x248]
cmovae ebx, dword [ebp - 0x2d8]
lea esi, [ebp - 0x2f0]
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x278]
push 0
cmovae edi, dword [ebp - 0x248]
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2dc], 8
lea eax, [ebp - 0x308]
push ebx
cmovae esi, dword [ebp - 0x2f0]
cmp dword [ebp - 0x264], 8
push edi
cmovae edx, dword [ebp - 0x278]
cmp dword [ebp - 0x294], 8
push esi
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x2f4], 8
push edx
cmovae eax, dword [ebp - 0x308]
push ecx
push eax
call fcn.0048a3a0
add esp, 0x1c
jmp 0x48b53a
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 0x2ed
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x48b57e
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b68f
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x48b5df
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b5d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b68f
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x48b63c
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b632
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b68f
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2f4]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x48b69f
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b695
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
call fcn.00453840
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 - 0x358], ecx
test bl, bl
je 0x48b88c
test ecx, ecx
je 0x48b888
mov edi, dword [ebp - 0x354]
push edi
call fcn.0048bd60
add esp, 4
test eax, eax
jne 0x48b874
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmovae eax, dword [ebp - 0x260]
push 0
push 0
push 0
push eax
push str.taskbarunpin
push 0
call esi
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 esi
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 0x308
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
cmp dword [ebp - 0x2c8], 0
je 0x48b874
cmp dword [ebp - 0x2c4], 8
lea eax, [ebp - 0x2d8]
push 0x4f1b88
cmovae eax, dword [ebp - 0x2d8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x48b874
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.0048bac0
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 0x30d
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412750
add esp, 0x20
cmp dword [ebp - 0x238], 0
je 0x48b82e
cmp dword [ebp - 0x2dc], 8
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x2f0]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0048bde0
add esp, 8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x48b874
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b86a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48b86a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push edi
call fcn.0048bd60
add esp, 4
test eax, eax
je 0x48b888
mov esi, 1
jmp 0x48b892
xor esi, esi
jmp 0x48b892
mov esi, dword [ebp - 0x358]
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x48b8d2
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b8c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba91
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2c4]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x48b92f
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b925
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba91
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2dc]
xor eax, eax
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
cmp edx, 8
jb 0x48b98c
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b982
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba91
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
cmp edx, 8
jb 0x48b9e9
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b9df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba91
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov edx, dword [ebp - 0x33c]
cmp edx, 8
jb 0x48ba42
mov ecx, dword [ebp - 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ba38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba91
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 7
mov word [ebp - 0x350], ax
cmp edx, 8
jb 0x48baa1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ba97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ba97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
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.004bee49
mov esp, ebp
pop ebp
ret