Function at 0x10189290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x14c]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x16c], esi
call dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x160], eax
xor eax, eax
cmp dword [esi + 0x74], 2
sete al
mov dword [ebp - 0x158], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x150], eax
call fcn.10026170
mov dword [ebp - 0x154], eax
cmp byte [eax + 0x210], 0
jne 0x10189300
xor eax, eax
jmp 0x1018949e
push 0x1025c02a
push 0x34
call fcn.101c85b0
mov edi, eax
add esp, 8
test edi, edi
je 0x1018938f
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x160]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 7
mov word [edi + 0x14], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x150], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10189341
sub ecx, dword [ebp - 0x150]
sar ecx, 1
push ecx
push dword [ebp - 0x160]
lea ecx, [edi + 0x14]
call fcn.100070c0
mov eax, dword [ebp - 0x158]
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push edi
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
call sub.msvcrt.dll_time
add esp, 4
mov dword [edi + 0x30], eax
jmp 0x10189391
xor edi, edi
mov dword [ebp - 0x15c], edi
test edi, edi
jne 0x101893a2
xor eax, eax
jmp 0x1018949e
push 0
push 0
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
call fcn.100273b0
mov edi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x174], eax
mov esi, dword [edi]
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x101893f8
cmp dword [ecx + 0x10], edx
jae 0x101893ee
mov ecx, dword [ecx + 8]
jmp 0x101893f2
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x101893e4
cmp esi, eax
je 0x10189401
cmp edx, dword [esi + 0x10]
jae 0x10189441
lea eax, [ebp - 0x15c]
mov ecx, edi
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x161]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x1021bd7c
call fcn.1001d570
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.1001ee50
mov esi, dword [ebp - 0x154]
add esi, 0x14
lea eax, [ebp - 0x174]
cmp esi, eax
je 0x10189477
mov ecx, esi
call fcn.1002a820
mov eax, dword [esi]
mov ecx, dword [ebp - 0x174]
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x170]
mov dword [esi + 4], eax
mov dword [ebp - 0x170], ecx
lea ecx, [ebp - 0x174]
call fcn.1002a820
push 0x20
push dword [ebp - 0x174]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x15c]
add esp, 8
mov esi, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x14c]
lea edi, [ebx + 0xc4]
mov dword [edi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101894c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0xf8]
mov dword [ebx + 0xf0], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x101894e3
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebx + 0x110]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x101894f9
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebx + 0x128]
mov dword [ebx + 0xf4], ecx
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x10189515
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebx + 0xd8]
mov ebx, edx
mov dword [ebp - 0x15c], edx
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], cl
jne 0x1018954c
mov ecx, dword [esi]
cmp dword [eax + 0x10], ecx
jae 0x1018953c
mov eax, dword [eax + 8]
jmp 0x10189540
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10189532
mov dword [ebp - 0x15c], ebx
cmp ebx, edx
je 0x10189557
mov eax, dword [esi]
cmp eax, dword [ebx + 0x10]
jae 0x1018955f
mov ebx, edx
mov dword [ebp - 0x15c], ebx
cmp ebx, edx
jne 0x10189570
xor eax, eax
mov dword [ebp - 0x16c], eax
jmp 0x1018a26f
mov ecx, dword [ebp - 0x168]
xor edx, edx
mov eax, dword [esi]
mov dword [ecx + 0xec], eax
mov eax, dword [esi + 0x74]
cmp eax, 2
mov dword [ebp - 0x160], eax
sete dl
inc edx
mov dword [ebp - 0x158], edx
mov edx, dword [ecx + 0x218]
test edx, edx
je 0x101897b9
cmp edx, dword [esi]
jne 0x101897b9
cmp eax, 2
je 0x10189678
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x101895c3
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x101895c8
mov eax, 0x10202940
push eax
lea ecx, [ebp - 0x110]
call fcn.101221f0
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
push dword [eax]
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [esi]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10126970
mov edx, dword [ebp - 0x14c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018961f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10009c50
test eax, eax
je 0x10189631
mov esi, 0xf013f
mov eax, esi
jmp 0x1018963b
mov esi, 0xf003f
mov eax, 0x200
push 0
push 0x10211b44
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Icons
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x110]
call fcn.10125c40
push esi
push 0x10211b44
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Icons
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10058450
lea ecx, [ebp - 0x110]
call fcn.10122860
push str.HKLM_
lea ecx, [ebp - 0x150]
call fcn.10002490
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x1018969c
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x101896a8
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, 1
sub ecx, dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [ebx]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], esi
mov ebx, dword [eax - 0xc]
mov eax, dword [esi - 8]
mov dword [ebp - 0x154], ebx
lea edx, [ebx + 0x3e]
sub eax, edx
or ecx, eax
jge 0x101896ef
push edx
lea ecx, [ebp - 0x15c]
call fcn.10003310
mov esi, dword [ebp - 0x15c]
add ebx, ebx
push ebx
push dword [ebp - 0x14c]
push ebx
push esi
call fcn.10004510
lea eax, [ebx + esi]
add esp, 0x10
test eax, eax
jne 0x1018971b
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.101e6c20
jmp 0x1018972b
push 0x7c
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Icons
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x154]
xor ecx, ecx
push 0x10204674
push ecx
add eax, 0x3e
push 0x10211b44
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10189771
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x150]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1018978c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x16c]
cmp dword [ebx + 0x74], 2
jne 0x1018979f
mov dword [ebx + 0x74], 3
call fcn.10189120
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x16c]
jmp 0x1018a26f
mov eax, dword [0x1025b450]
cmp eax, 0xffffffff
je 0x10189816
cmp dword [0x1025b454], 0xffffffff
je 0x10189816
push eax
mov dword [ebp - 0x150], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10189816
mov eax, dword [0x1025b458]
test eax, eax
je 0x10189816
lea ecx, [ebp - 0x150]
push ecx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push dword [0x1025b450]
call esi
push dword [ebp - 0x150]
push dword [0x1025b454]
call esi
mov esi, dword [ebp - 0x16c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jne 0x101899e0
push ecx
lea eax, [ebp - 0x14c]
mov ecx, 0x1025ad30
push eax
call fcn.100d1e80
mov eax, dword [ebp - 0x14c]
cmp eax, dword [0x1025ad30]
je 0x101899e0
mov ecx, dword [ebp - 0x168]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10189862
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x10189867
mov eax, 0x10202940
push eax
lea ecx, [ebp - 0x148]
call fcn.10183f20
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x130]
push dword [eax]
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [esi]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10126970
mov edx, dword [ebp - 0x14c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101898be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x28]
lea ecx, [ebp - 0x134]
call fcn.10002790
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x154], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14c], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x168]
mov esi, eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebx + 0x5c]
mov ebx, dword [ebp - 0x16c]
lea eax, [ebp - 0x148]
push dword [ebp - 0x158]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push dword [eax]
call dword [edx + 0x60]
cmp dword [ebp - 0x160], 2
je 0x1018995b
mov ecx, dword [ebp - 0x168]
call fcn.10194850
push 0
mov ecx, 0x1025b450
call fcn.10008cd0
cmp dword [ebx + 0x74], 2
jne 0x10189974
mov dword [ebx + 0x74], 3
call fcn.10189120
lea ecx, [ebp - 0x10]
call fcn.1002a360
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10189998
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101899b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x154]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x101899d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x148]
call fcn.101841c0
jmp 0x1018a264
mov ecx, dword [ebp - 0x168]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x101899f4
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x101899f9
mov eax, 0x10202940
push eax
lea ecx, [ebp - 0x148]
call fcn.10183f20
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x130]
push dword [eax]
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [esi]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10126970
mov edx, dword [ebp - 0x14c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10189a50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x38]
push dword [edi]
push dword [ebp - 0x158]
push 0x200
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID_
push SysReAllocString
call fcn.10176d80
push dword [ebp - 0x38]
push dword [edi]
push dword [ebp - 0x158]
push 0x100
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID_
push SysReAllocString
call fcn.10176d80
mov ecx, dword [ebp - 0x168]
lea eax, [ebp - 0x148]
add esp, 0x38
push eax
push esi
call fcn.10191170
mov eax, dword [ebp - 0x168]
cmp ebx, dword [eax + 0xd8]
je 0x1018a227
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jne 0x1018a227
push dword [ebx + 0x18]
mov ecx, 0x1025ac18
push str.CLSID
call fcn.100615f0
test eax, eax
jne 0x1018a227
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x158]
push dword [edi]
push esi
push 0x200
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10176d80
push dword [ebp - 0x38]
push dword [edi]
push esi
push 0x100
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10176d80
push dword [ebp - 0x38]
push dword [edi]
push esi
push 0x200
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push SysReAllocString
call fcn.10176d80
add esp, 0x54
push dword [ebp - 0x38]
push dword [edi]
push esi
push 0x100
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push SysReAllocString
call fcn.10176d80
push dword [ebp - 0x38]
push dword [edi]
push esi
push 0x200
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_
push SysReAllocString
call fcn.10176d80
push dword [ebp - 0x38]
push dword [edi]
push esi
push 0x100
push dword [ebx + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_
push SysReAllocString
call fcn.10176d80
add esp, 0x54
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xffffffff
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0x52
add eax, 0x10
lea ecx, [ebp - 0x158]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel_
mov dword [ebp - 0x158], eax
call fcn.10003740
lea ecx, [ebp - 0x14]
call fcn.10008220
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x14]
push 0x2021f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x10189caf
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x10189c89
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKLM_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x10189caf
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
lea ecx, [ebp - 0x14]
call fcn.10008220
push 0x2011f
push esi
lea eax, [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x10189d77
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x10189d51
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKLM_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x10189d77
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
lea ecx, [ebp - 0x14]
call fcn.10008220
push 0x2021f
push esi
lea eax, [ebp - 0x14]
push SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x10189e3f
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x10189e19
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKCU_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x10189e3f
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
push 0x2011f
push esi
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10058810
test eax, eax
jne 0x10189ef6
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x10189ed0
mov esi, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKCU_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push esi
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
cmp dword [ebp - 0x160], 2
je 0x10189ef6
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu_
lea ecx, [ebp - 0x158]
call fcn.10008170
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x14]
push 0x2021f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10058810
test eax, eax
jne 0x10189fc9
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x10189fa3
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKLM_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x10189fc9
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
push 0x2011f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10058810
test eax, eax
jne 0x1018a086
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x1018a060
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKLM_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x1018a086
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
push 0x2021f
push esi
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10058810
test eax, eax
jne 0x1018a143
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x1018a11d
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKCU_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push ebx
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
mov ebx, dword [ebp - 0x15c]
cmp dword [ebp - 0x160], 2
je 0x1018a143
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
push 0x2011f
push esi
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10058810
test eax, eax
jne 0x1018a1fa
push eax
push eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx + 0x18]
call fcn.100263b0
test eax, eax
jne 0x1018a1d4
mov esi, dword [ebx + 0x18]
lea eax, [ebp - 0x158]
push eax
push str.HKCU_
lea ecx, [ebp - 0x150]
call fcn.10002490
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10007e90
add esp, 0xc
push 0x10204674
push 0
push esi
push dword [eax]
push dword [edi]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
lea ecx, [ebp - 0x154]
call fcn.10007e10
lea ecx, [ebp - 0x150]
call fcn.10007e10
cmp dword [ebp - 0x160], 2
je 0x1018a20e
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
push 0
push dword [ebx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
push dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
call fcn.10060790
cmp dword [ebp - 0x160], 2
je 0x1018a20e
mov ecx, dword [ebp - 0x168]
call fcn.10194850
lea ecx, [ebp - 0x158]
call fcn.10007e10
lea ecx, [ebp - 0x14]
call fcn.10008220
mov esi, dword [ebp - 0x16c]
lea ecx, [ebp - 0x148]
call fcn.101841c0
push 0
mov ecx, 0x1025b450
call fcn.10008cd0
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp dword [esi + 0x74], 2
jne 0x1018a25f
mov dword [esi + 0x74], 3
call fcn.10189120
mov eax, 1
mov dword [ebp - 0x16c], eax
test edi, edi
je 0x1018a324
mov esi, dword [edi]
test esi, esi
je 0x1018a324
call fcn.10026170
mov ebx, eax
lea ecx, [ebp - 0x161]
mov dword [ebp - 0x150], ebx
call fcn.10129b80
cmp byte [ebx + 0x210], 0
je 0x1018a30d
test esi, esi
je 0x1018a30d
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], esi
push eax
lea eax, [ebp - 0x154]
mov ecx, ebx
push eax
call fcn.1002aeb0
mov esi, dword [eax]
cmp esi, dword [ebx]
je 0x1018a30d
mov ecx, dword [ebp - 0x150]
lea ebx, [esi + 0x14]
push ebx
push dword [esi + 0x10]
call fcn.1002b7c0
mov ecx, ebx
call fcn.1002a820
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1018a2fa
lea ecx, [ebx + 0x14]
call fcn.10005250
push 0x34
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.101887b0
lea ecx, [ebp - 0x161]
call fcn.10129ba0
mov eax, dword [ebp - 0x16c]
mov dword [edi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4