Function at 0x4c39f0
Capabilities:
Check os version
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x514cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x572bb0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov dword [esp + 0x40], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x50], eax
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4c3a5a
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x328], 0
mov byte [esp + 0x2b], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3a92
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x328], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3ac4
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
mov byte [esp + 0x328], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3af6
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x30], ebx
push str.iconPath
mov ecx, esi
mov byte [esp + 0x32c], 3
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4c4dfb
push str.iconPath
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4c4dfb
push str.iconPath
mov ecx, esi
call fcn.0048ad90
mov edi, eax
cmp byte [edi + 8], 4
je 0x4c3b64
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4c3b6e
xor ecx, ecx
jmp 0x4c3b7c
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3b73
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0047e3b0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x44]
call fcn.0047da90
push str.shortcutName
mov ecx, esi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4c4cbf
push str.shortcutName
mov ecx, esi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4c4cbf
push str.shortcutName
mov ecx, esi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4c3bec
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x4c3bf6
xor ecx, ecx
jmp 0x4c3c09
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x4c3c00
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3c00
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0047e3b0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x44]
call fcn.0047da90
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3c3d
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x328], 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
setbe al
test al, al
jne 0x4c3c9e
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3c7e
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push ecx
mov ecx, esp
mov byte [esp + 0x32c], 0xd
push str.PUBLIC
jmp 0x4c3cd8
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3cba
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push ecx
mov ecx, esp
mov byte [esp + 0x32c], 0xe
push str.ALLUSERSPROFILE
lea esi, [esp + 0x1c]
call fcn.00471bb0
mov ecx, esi
call fcn.0047ca10
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x40]
add esp, 4
push esi
push str._sDesktop_
push eax
call fcn.00472d30
add esi, 0xfffffff0
mov byte [esp + 0x334], 0xc
or ebx, 0xffffffff
add esp, 0xc
mov eax, ebx
lea ecx, [esi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c3d26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str..lnk
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.00476000
add esp, 4
mov byte [esp + 0x328], 0xf
lea ecx, [esp + 0x3c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0047a5d0
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3d77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
sub esp, 0xc
push esi
call fcn.00479090
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x60], 0
mov dword [esp + eax + 0x54], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
sete byte [esp + 0x23]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x50], eax
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x64], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4c3df4
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xa8]
cmp dword [eax], ecx
jne 0x4c3df4
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
mov dword [eax], edx
cmp byte [esp + 0xb0], 0
je 0x4c3e07
lea ecx, [esp + 0x64]
call fcn.00479fc0
mov edi, dword [esp + 0x98]
mov dword [esp + 0x64], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
test edi, edi
je 0x4c3e3a
mov ecx, dword [edi]
test ecx, ecx
je 0x4c3e31
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4c3e31
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push edi
call fcn.004e98a6
add esp, 4
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x54], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x50], eax
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0xc8], vtable.std::ios_base.0
call fcn.0050944b
add esp, 4
cmp byte [esp + 0x23], 0
jne 0x4c4423
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3e99
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.public_short_cut_not_exist:
mov byte [esp + 0x328], 0x10
test eax, 0xffff0000
jne 0x4c3ed6
movzx edi, ax
mov ecx, edi
call fcn.00471400
test eax, eax
je 0x4c3ee4
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.004724d0
jmp 0x4c3ee4
push str.public_short_cut_not_exist:
lea ecx, [esp + 0x18]
call fcn.00471eb0
push str.changeDesktopIcon
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 0x11
call fcn.00471bb0
mov byte [esp + 0x328], 0x12
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3f1e
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
mov byte [esp + 0x328], 0x13
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x328], 0x14
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 0x15
cmp dword [ecx + 0xc], 0
je 0x4c3f87
push 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 0x14
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x13
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3fd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x328], 0x12
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3ff2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x11
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4017
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c403c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004bd730
mov byte [esp + 0x328], 0x16
add esi, 0xfffffff0
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4c40a5
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4c4098
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4c4098
call fcn.00471fb0
mov dword [esp + 0x18], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4c408f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x3c], eax
jmp 0x4c40a5
push dword [edx - 0xc]
lea ecx, [esp + 0x40]
push edx
call fcn.004725a0
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c40ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x30]
mov edx, 0x54d150
push eax
lea ecx, [esp + 0x20]
call fcn.004760e0
add esp, 4
push str..lnk
mov edx, eax
mov byte [esp + 0x32c], 0x17
lea ecx, [esp + 0x1c]
call fcn.00476000
add esp, 4
mov byte [esp + 0x328], 0x18
lea ecx, [esp + 0x3c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0047a5d0
mov byte [esp + 0x328], 0x17
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4137
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c415c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
sub esp, 0xc
push esi
call fcn.00479090
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x60], 0
mov dword [esp + eax + 0x54], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
sete byte [esp + 0x23]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x50], eax
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x64], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4c41d9
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xa8]
cmp dword [eax], ecx
jne 0x4c41d9
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
mov dword [eax], edx
cmp byte [esp + 0xb0], 0
je 0x4c41ec
lea ecx, [esp + 0x64]
call fcn.00479fc0
mov edi, dword [esp + 0x98]
mov dword [esp + 0x64], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
test edi, edi
je 0x4c421f
mov ecx, dword [edi]
test ecx, ecx
je 0x4c4216
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4c4216
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push edi
call fcn.004e98a6
add esp, 4
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x54], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x50], eax
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0xc8], vtable.std::ios_base.0
call fcn.0050944b
add esp, 4
cmp byte [esp + 0x23], 0
jne 0x4c4423
push str.none_public_short_cut_not_exist:
lea ecx, [esp + 0x18]
call fcn.00471c70
push str.changeDesktopIcon
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 0x19
call fcn.00471bb0
lea ecx, [esp + 0x24]
call fcn.00472bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x328], 0x1b
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x328], 0x1c
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 0x1d
cmp dword [ecx + 0xc], 0
je 0x4c42e8
push 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 0x1c
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c430d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x1b
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4332
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x1a
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4357
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x19
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c437c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c43a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.shortcut_not_exist
lea ecx, [esp + 0x30]
call fcn.00471e60
add esi, 0xfffffff0
mov byte [esp + 0x2b], 0
mov byte [esp + 0x328], 3
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c43d5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 2
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c43fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 1
mov ecx, ebx
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4f6a
mov ecx, dword [edx]
push edx
jmp 0x4c4f65
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x54]
sub esp, 0xc
push edi
call fcn.00479090
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x60], 0
mov dword [esp + eax + 0x54], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
sete byte [esp + 0x23]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x50], eax
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x64], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4c44a0
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xa8]
cmp dword [eax], ecx
jne 0x4c44a0
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
mov dword [eax], edx
cmp byte [esp + 0xb0], 0
je 0x4c44b3
lea ecx, [esp + 0x64]
call fcn.00479fc0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4c44ee
mov ecx, dword [eax]
test ecx, ecx
je 0x4c44e5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4c44e1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
push eax
call fcn.004e98a6
add esp, 4
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x54], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x50], eax
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0xc8], vtable.std::ios_base.0
call fcn.0050944b
add esp, 4
cmp byte [esp + 0x23], 0
jne 0x4c46b8
push str.new_icon_not_exist:
lea ecx, [esp + 0x18]
call fcn.00471c70
push str.changeDesktopIcon
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 0x1e
call fcn.00471bb0
lea ecx, [esp + 0x24]
call fcn.00472bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x328], 0x20
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x328], 0x21
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 0x22
cmp dword [ecx + 0xc], 0
je 0x4c45b7
push 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 0x21
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c45dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x20
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4601
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x1f
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4626
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x1e
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c464b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4670
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.new_icon_not_exist
lea ecx, [esp + 0x30]
call fcn.00471e60
mov byte [esp + 0x2b], 0
add esi, 0xfffffff0
mov byte [esp + 0x328], 3
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c46a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 2
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
jmp 0x4c4f33
mov dword [esp + 0x34], 0
lea eax, [esp + 0x34]
mov byte [esp + 0x328], 0x23
push eax
push 0x54384c
push 1
push 0
push 0x54398c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c47fe
push str.changeDesktopIcon_error_CoCreateInstance_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x25
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x26
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x27
call fcn.00473a30
mov byte [esp + 0x328], 0x26
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4770
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x25
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x24
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c47ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x23
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c47df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c4683
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4c4683
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x38], ecx
test eax, eax
je 0x4c482a
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x553c28
push eax
call dword [ecx]
mov ecx, dword [esp + 0x38]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x38], ecx
push 2
mov byte [esp + 0x32c], 0x28
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c4958
push str.changeDesktopIcon_error_Load_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x2a
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x2b
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x2c
call fcn.00473a30
mov byte [esp + 0x328], 0x2b
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c48ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x2a
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c48ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x29
mov edx, dword [esp + 0x14]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4914
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x28
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4939
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x23
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c47df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4c47df
xor eax, eax
push 0x206
push eax
mov word [esp + 0x114], ax
lea eax, [esp + 0x116]
push eax
call fcn.004ef3a0
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x58]
add esp, 0xc
mov ecx, dword [eax]
push edx
push 0x104
lea edx, [esp + 0x114]
push edx
push eax
call dword [ecx + 0x40]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c4a55
push str.changeDesktopIcon_error_GetIconLocation_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x2e
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x2f
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x30
call fcn.00473a30
mov byte [esp + 0x328], 0x2f
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4a23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x2e
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4a48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x2d
jmp 0x4c48f7
mov eax, dword [esp + 0x34]
push dword [esp + 0x4c]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c4b25
push str.changeDesktopIcon_error_SetIconLocation_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x32
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x33
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x34
call fcn.00473a30
mov byte [esp + 0x328], 0x33
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x32
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4b18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x31
jmp 0x4c48f7
mov eax, dword [esp + 0x38]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c4bf3
push str.changeDesktopIcon_error_Save_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x36
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x37
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x38
call fcn.00473a30
mov byte [esp + 0x328], 0x37
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4bc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x36
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4be6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x35
jmp 0x4c48f7
mov eax, dword [esp + 0x38]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c4939
push str.changeDesktopIcon_error_SaveCompleted_
lea ecx, [esp + 0x14]
call fcn.00471bb0
lea ecx, [esp + 0x14]
call fcn.00472bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 0x3a
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x328], 0x3b
lea ecx, [esp + 0x1c]
push dword [esp + 0x18]
mov edx, eax
call fcn.00472f20
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x32c], 0x3c
call fcn.00473a30
mov byte [esp + 0x328], 0x3b
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4c8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x3a
mov ecx, ebx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4cb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0x39
jmp 0x4c48f7
push str.shortcutName_error
lea ecx, [esp + 0x18]
call fcn.00471c70
push str.isDriectoryEmpty
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 8
call fcn.00471bb0
mov byte [esp + 0x328], 9
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c4d07
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
mov byte [esp + 0x328], 0xa
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 0xb
cmp dword [ecx + 0xc], 0
je 0x4c4d55
push 2
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 0xa
or edi, 0xffffffff
mov edx, dword [esp + 0x1c]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c4d7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x328], 9
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4d9e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 8
mov ecx, edi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4dc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 3
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4de8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x328], 2
or ebx, 0xffffffff
jmp 0x4c43e4
push str.iconPath_error
lea ecx, [esp + 0x18]
call fcn.00471c70
push str.changeDesktopIcon
lea ecx, [esp + 0x14]
mov byte [esp + 0x32c], 4
call fcn.00471bb0
mov byte [esp + 0x328], 5
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c4e43
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
mov byte [esp + 0x328], 6
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 7
cmp dword [ecx + 0xc], 0
je 0x4c4e91
push 2
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 6
or eax, 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c4eb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x328], 5
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4edb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 4
mov ecx, esi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4f00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 3
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4f25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x328], 2
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4f49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x328], 1
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c4f6a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x2c]
cmp dword [edi - 0xc], 0
je 0x4c5083
push str.changeDesktopIcon
lea ecx, [esp + 0x14]
call fcn.00471bb0
mov byte [esp + 0x328], 0x3d
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c4faa
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x2c]
mov byte [esp + 0x328], 0x3e
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x328], 0x3f
cmp dword [ecx + 0xc], 0
je 0x4c4ff8
push 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x328], 0x3e
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c501d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x328], 0x3d
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c503e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 1
mov ecx, ebx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c5063
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x2b], 0
je 0x4c5083
push ecx
mov ecx, esp
push 0x54c730
call fcn.00471bb0
lea ecx, [esp + 0x30]
call fcn.00474300
add esp, 4
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4c5130
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c50ab
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x328], 0x40
mov ecx, str.false
cmp dword [edi - 0xc], 0
mov eax, str.true
push dword [esp + 0x2c]
cmovne eax, ecx
push eax
lea eax, [esp + 0x18]
push str.__result__:__s____error__:___s_
push eax
call fcn.00472d30
mov eax, 8
add esp, 0x10
mov word [esi], ax
mov esi, dword [esp + 0x10]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4c5108
call fcn.004722b0
mov ecx, dword [esp + 0x50]
add esi, 0xfffffff0
mov byte [esp + 0x328], 1
mov dword [ecx + 8], eax
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c5130
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x328], 0
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c5155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x328], 0xffffffff
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4c517b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.004e94b7
mov esp, ebp
pop ebp
ret 8