Function at 0x7cf6fc7a
Capabilities:
Create thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xad0
push ebx
push esi
push edi
mov ebx, ecx
movzx edi, word [ebp + 0xc]
mov ecx, 0x7800
mov dword [ebp - 0x10], edi
lea eax, [edi - 0x7031]
mov dword [ebp - 4], ecx
cmp eax, 0x17
ja 0x7cf6fcb1
push 0
push edi
mov ecx, ebx
call fcn.7cfb8c45
jmp 0x7cf709e1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [edi - 0x7800]
cmp edx, 0x100
mov eax, 0xfe
jbe 0x7cf70722
lea edx, [edi - 0x7901]
cmp edx, eax
jbe 0x7cf70722
lea eax, [edi - 0x7200]
cmp eax, 0xff
ja 0x7cf6fd03
cmp dword [ebx + 0x168], 0
je 0x7cf6fd03
push 0
push eax
push 2
mov ecx, ebx
call fcn.7cf5d4a3
jmp 0x7cf709df
lea eax, [edi - 0x7411]
cmp eax, 0xee
ja 0x7cf6fd1b
push edi
call fcn.7cfb96c1
jmp 0x7cf709e1
mov eax, 0x7013
cmp edi, eax
ja 0x7cf6fd51
je 0x7cf6fd3a
cmp edi, 0x7010
jb 0x7cf702a6
cmp edi, 0x7011
jmp 0x7cf6fd6e
push 0x4000000
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7cf6feee
jmp 0x7cf709df
mov eax, 0x701b
cmp edi, eax
ja 0x7cf6fdb2
je 0x7cf6fd79
cmp edi, 0x7018
jb 0x7cf702a6
cmp edi, 0x701a
jbe 0x7cf6feee
jmp 0x7cf702a6
test byte [ebx + 0x148], 0x80
jne 0x7cf700c9
cmp dword [ebx + 0x41c], 0
je 0x7cf6fda2
lea ecx, [ebx + 0x184]
call fcn.7cffa0c2
test eax, eax
jne 0x7cf700c9
push dword [ebx + 0xcc]
call fcn.7cfa9547
jmp 0x7cf709df
mov eax, 0x7029
cmp edi, eax
ja 0x7cf6ff76
je 0x7cf6ff64
cmp edi, 0x701c
je 0x7cf6feee
cmp edi, 0x701d
jbe 0x7cf702a6
cmp edi, 0x701f
ja 0x7cf702a6
test byte [ebx + 0x148], 0x80
jne 0x7cf700c9
cmp dword [ebx + 0x41c], 0
je 0x7cf6fe12
lea ecx, [ebx + 0x184]
call fcn.7cffa0c2
test eax, eax
jne 0x7cf700c9
cmp edi, 0x701e
mov esi, 0x7cf39b80
je 0x7cf6fe24
mov esi, 0x7cf39b70
lea edi, [ebp - 0x20]
lea eax, [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
xor edi, edi
push 0x7cf39900
lea eax, [ebp - 0x20]
push edi
push eax
push edi
call sym.SHELL32.dll_SHCoCreateInstance
test eax, eax
jl 0x7cf709df
mov eax, ebx
lea ecx, [ebx + 0xc]
neg eax
sbb eax, eax
and eax, ecx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_IUnknown_SetSite]
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 4]
push edx
push 0x7cf398d0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x7cf6fedb
lea eax, [ebp + 0xc]
push 1
push eax
push 0x7cf4c320
push ebx
call fcn.7cfb4b39
test eax, eax
jl 0x7cf6fed2
mov ecx, ebx
call fcn.7cfb84f3
push 8
mov esi, eax
mov dword [ebp - 0x54], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
push 0
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebx + 0xcc]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push esi
call sym.SHELL32.dll_ILFree
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_IUnknown_SetSite]
mov eax, dword [ebp + 0x10]
jmp 0x7cf7059b
test byte [ebx + 0x148], 0x80
jne 0x7cf700c9
cmp dword [ebx + 0x41c], 0
je 0x7cf6ff17
lea ecx, [ebx + 0x184]
call fcn.7cffa0c2
test eax, eax
jne 0x7cf700c9
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push edi
push ebx
call fcn.7cfb847b
test eax, eax
je 0x7cf6ff45
push edi
push ebx
call fcn.7cfb82d3
test eax, eax
jge 0x7cf709df
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x7cf709df
push 0xc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x7cf709df
push edi
call fcn.7cfb8c1a
mov dword [esi + 8], eax
jmp 0x7cf709df
and dword [ebp - 8], 0
and dword [ebx + 0x148], 0xfffffff7
push 1
jmp 0x7cf700e6
mov eax, 0x7053
cmp edi, eax
ja 0x7cf70136
je 0x7cf705bb
mov eax, edi
sub eax, 0x702a
je 0x7cf700f8
dec eax
je 0x7cf700e9
dec eax
je 0x7cf700d6
dec eax
dec eax
je 0x7cf6ffec
dec eax
je 0x7cf6ffe0
dec eax
jne 0x7cf702a6
push ebx
lea ecx, [ebp - 0x2c]
call fcn.7cfb8d79
test byte [ebx + 0x14c], 4
jne 0x7cf6ffcb
mov ecx, ebx
call fcn.7cfb45ff
lea ecx, [ebp - 0x2c]
call fcn.7cfb8db3
lea ecx, [ebp - 0x2c]
call fcn.7cfb8d92
jmp 0x7cf709df
mov ecx, ebx
call fcn.7cfb8ad9
jmp 0x7cf709df
test byte [ebx + 0x148], 0x80
jne 0x7cf700c9
cmp dword [ebx + 0x41c], 0
je 0x7cf70015
lea ecx, [ebx + 0x184]
call fcn.7cffa0c2
test eax, eax
jne 0x7cf700c9
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x7cf709df
push 0xd7
push dword [0x7d04cdfc]
call fcn.7cfb0e70
test eax, eax
mov dword [ebp + 0x10], eax
je 0x7cf709df
and dword [ebp - 0x5c], 0
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
push ebx
push dword [ebp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x184]
call fcn.7cf55217
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.7cf6edf6
lea eax, [ebp - 0x5c]
xor edi, edi
push eax
push edi
push 0x7002
mov dword [ebp - 0x5c], 0x2c
push dword [ebp + 0x10]
mov dword [ebp - 0x58], 4
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x7cf700bb
mov eax, dword [eax + 8]
cmp eax, edi
je 0x7cf700bb
push edi
push dword [esi]
push edi
push dword [eax + 0xc]
push dword [eax]
push 0x100
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, edi
je 0x7cf700bb
movzx eax, ax
push edi
push eax
push edi
mov ecx, ebx
call fcn.7cf6fc7a
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x7cf709df
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x7cf709df
or dword [ebx + 0x148], 8
mov dword [ebp - 8], 1
push 4
pop eax
jmp 0x7cf70105
or dword [ebx + 0x148], 8
push 3
pop eax
mov dword [ebp - 8], eax
jmp 0x7cf70105
and dword [ebx + 0x148], 0xfffffff7
push 2
pop eax
mov dword [ebp - 8], eax
mov esi, dword [ebx + 0x400]
cmp esi, 0xfffffffd
jne 0x7cf7011b
xor ecx, ecx
cmp dword [ebx + 0x430], 0xfffffffe
jmp 0x7cf70120
xor ecx, ecx
cmp esi, 0xfffffffe
setne cl
mov esi, ecx
xor ecx, ecx
test esi, esi
sete cl
push ecx
push dword [ebp - 8]
push eax
jmp 0x7cf70539
mov eax, 0x7071
cmp edi, eax
ja 0x7cf70224
je 0x7cf7017e
cmp edi, 0x7063
jne 0x7cf702a6
push 0x40000021
call sym.SHELL32.dll_SHRestricted
test eax, eax
jne 0x7cf709df
push eax
push eax
push eax
push 6
push 0x7cf39940
push dword [ebx + 0x98]
call dword [sym.imp.SHLWAPI.dll_IUnknown_Exec]
jmp 0x7cf709df
cmp dword [ebx + 0x9c], 0
jne 0x7cf709df
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
mov dword [ebp + 0x10], eax
mov edi, 0x104
lea eax, [ebp - 0x8c8]
push edi
push eax
push 0x7cf3cee0
call esi
and word [ebp - 0x6c0], 0
lea eax, [ebp - 0x8c8]
push eax
push 0
push 0x3f
mov ecx, ebx
call fcn.7cf5d4a3
test eax, eax
jl 0x7cf7020e
lea eax, [ebp - 0x4b8]
push edi
push eax
lea eax, [ebp - 0x8c8]
push eax
call esi
lea eax, [ebp - 0x2b0]
push edi
push eax
lea eax, [ebp - 0x6c0]
push eax
call esi
mov ax, word [ebp - 0x2b0]
lea ecx, [ebp - 0x2b0]
neg ax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x4b8]
push 0
push eax
jmp 0x7cf70217
push 0
push 0
push 0x7cf3cee0
push dword [ebp + 0x10]
call fcn.7cf83338
jmp 0x7cf709df
mov eax, 0x7400
cmp edi, eax
ja 0x7cf70272
je 0x7cf70242
cmp edi, 0x7103
jne 0x7cf702a6
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
jmp 0x7cf709df
lea eax, [ebp - 0xad0]
push 0x104
push eax
push 0x104e
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xad0]
push 0
push eax
call sym.SHELL32.dll_SHRunControlPanel
jmp 0x7cf709df
mov eax, edi
sub eax, 0x7401
je 0x7cf706fb
dec eax
je 0x7cf70646
dec eax
je 0x7cf705bb
dec eax
je 0x7cf705a6
dec eax
je 0x7cf70567
sub eax, 0xbea
je 0x7cf704fa
mov eax, dword [ebx + 0x41c]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x7cf7035c
mov ebx, dword [ebx + 0x420]
sub edi, 0x7012
je 0x7cf7030b
sub edi, 0xf
je 0x7cf702fe
dec edi
je 0x7cf702f8
dec edi
je 0x7cf702f2
sub edi, 0x2e
je 0x7cf702e7
dec edi
jne 0x7cf709df
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
jmp 0x7cf709df
mov eax, dword [ebx]
push ebx
call dword [eax + 0x18]
jmp 0x7cf709df
mov eax, dword [ebx]
push 0
jmp 0x7cf70302
mov eax, dword [ebx]
push 2
jmp 0x7cf70302
mov eax, dword [ebx]
push 1
push ebx
call dword [eax + 0x70]
jmp 0x7cf709df
mov eax, dword [ebx]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
xor esi, esi
push ecx
push ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], esi
call dword [eax + 0x44]
cmp eax, esi
jne 0x7cf7033e
mov eax, dword [ebp + 0xc]
cmp eax, esi
jbe 0x7cf7033e
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
push dword [edi + eax*4 - 4]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
jmp 0x7cf70345
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
cmp dword [ebp + 0x10], esi
je 0x7cf709df
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x7cf709df
mov eax, edi
sub eax, 0x7051
je 0x7cf704c7
dec eax
je 0x7cf704ad
sub edi, 0x7012
je 0x7cf7092a
sub edi, 0xf
je 0x7cf7044a
dec edi
je 0x7cf703ae
dec edi
je 0x7cf70393
push 1
pop eax
jmp 0x7cf709e1
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x48], 2
push 0x102b
jmp 0x7cf704b6
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebx + 0xd4]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0xd4]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x7cf7043c
mov edi, 0x102b
push 2
push dword [ebp + 0x10]
push 0x102c
push dword [ebx + 0xd4]
call esi
push 2
pop ecx
xor eax, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x10]
push edi
push dword [ebx + 0xd4]
call esi
push 0
push dword [ebp + 0x10]
push 0x100c
push dword [ebx + 0xd4]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x7cf703f5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x7cf709df
xor esi, esi
mov ecx, ebx
push esi
push esi
push 0x23
call fcn.7cf5d4a3
cmp eax, 1
je 0x7cf709df
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call esi
push dword [ebx + 0xd4]
add ebx, 0xd4
mov edi, eax
call dword [sym.imp.USER32.dll_SetFocus]
push 2
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call esi
jmp 0x7cf709df
push 0
push 5
push 0x1016
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x7cf709df
xor dword [ebx + 0xa4], 1
and dword [ebx + 0x148], 0xfffffffb
add ebx, 0xd4
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x7cf709df
cmp dword [ebp + 0x10], 0
je 0x7cf70516
mov esi, 0x7cf39300
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push 1
push eax
push 0
movsd dword es:[edi], dword [esi]
jmp 0x7cf7055b
cmp dword [ebx + 0x41c], 0
jne 0x7cf70545
push 1
push 0xfffffffffffffff0
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 3
push eax
push dword [ebx + 0xa0]
mov ecx, ebx
call fcn.7cfb8784
jmp 0x7cf709df
mov esi, dword [ebx + 0x3fc]
xor edi, edi
push edi
push edi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.7cf61c1a
push edi
push edi
push esi
mov ecx, ebx
call fcn.7cf61c1a
jmp 0x7cf709df
mov ebx, dword [ebx + 0x98]
lea ecx, [ebp + 0x10]
push ecx
push 0x7cf4c8e0
mov eax, dword [ebx]
push ebx
call dword [eax]
test eax, eax
jl 0x7cf709df
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ecx
push ecx
mov edx, dword [eax]
push ecx
push 0x28
push 0x7cf39930
push eax
call dword [edx + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x7cf709df
call fcn.7d0328e2
xor eax, 2
push eax
push 2
call fcn.7d032936
jmp 0x7cf709df
mov ecx, dword [ebp - 0x30]
mov esi, 0x1000
xor dword [ebx + 0xa4], esi
mov eax, dword [ebx + 0xa4]
shr eax, 0xc
and eax, 1
and ch, 0xef
shl eax, 0xc
or ecx, eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], ecx
push 4
shl ecx, 0x13
sar ecx, 0x1f
neg cl
push eax
push 4
sbb ecx, ecx
push 0x7cf3c638
neg ecx
push 0x7cf358cc
push reloc.SHLWAPI.dll_ParseURLA
mov dword [ebp + 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
lea eax, [ebp - 0x30]
push 0x4000
push eax
call sym.SHELL32.dll_SHGetSetSettings
test byte [ebx + 0x14a], 0x20
je 0x7cf70631
test dword [ebx + 0xa4], esi
je 0x7cf70631
xor eax, eax
jmp 0x7cf70634
push 5
pop eax
push eax
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x7cf709df
xor edi, edi
mov esi, 0x200
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call sym.SHELL32.dll_SHGetSetSettings
mov eax, dword [ebp - 0x30]
and byte [ebp + 0x10], 0
mov ecx, eax
not eax
shr eax, 6
and eax, 1
and ecx, 0xffffffbf
shl eax, 6
or ecx, eax
test cl, 0x40
mov dword [ebp - 0x30], ecx
je 0x7cf706b5
call fcn.7d031bbd
test eax, eax
jne 0x7cf706b5
lea eax, [ebp + 0xc]
push eax
push 0x7cf395c0
push edi
push 0x7cf395d0
push edi
call sym.SHELL32.dll_SHCoCreateInstance
test eax, eax
jl 0x7cf706b5
push dword [ebp + 0xc]
call fcn.7d031c86
neg eax
sbb eax, eax
neg eax
mov byte [ebp + 0x10], al
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp + 0x10], 0
jne 0x7cf709df
push 1
lea eax, [ebp - 0x30]
push esi
push eax
call sym.SHELL32.dll_SHGetSetSettings
push edi
lea eax, [ebp - 0x50]
push esi
push eax
call sym.SHELL32.dll_SHGetSetSettings
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
xor ecx, eax
test cl, 0x40
jne 0x7cf709df
shl eax, 0x19
sar eax, 0x1f
push edi
push eax
mov ecx, ebx
call fcn.7cfb8cc4
jmp 0x7cf709df
lea eax, [ebp - 8]
add ebx, 0xcc
push eax
xor eax, eax
push eax
push ebx
push 0x7cfb97b1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7cf709df
mov edx, dword [ebp + 8]
and dword [ebp - 0xc], 0
and dword [ebp + 0xc], 0
test edx, edx
jne 0x7cf7078c
lea edx, [edi - 0x7901]
cmp edx, eax
ja 0x7cf70751
mov eax, dword [ebx + 0xac]
mov dword [ebp - 4], 0x7901
test eax, eax
mov dword [ebp + 8], eax
je 0x7cf7077e
jmp 0x7cf70761
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 4], ecx
test eax, eax
mov dword [ebp + 8], eax
je 0x7cf70769
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x7cf7077e
mov ecx, ebx
call fcn.7cf5d4e9
test eax, eax
jne 0x7cf7077e
mov ecx, ebx
call fcn.7cfb4c03
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
test edx, edx
mov dword [ebp + 0xc], edx
je 0x7cf709df
mov eax, dword [edx]
push edx
call dword [eax + 4]
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
and word [ebp - 0x2b0], 0
and byte [ebp - 0x3b4], 0
mov dword [ebp + 0x10], edi
mov edi, 0x104
mov ecx, dword [eax]
lea edx, [ebp - 0x3b4]
push edi
push edx
push 0
push 0
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x7cf707dd
lea eax, [ebp - 0x2b0]
push edi
push eax
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.SHLWAPI.dll_SHAnsiToUnicode]
cmp word [ebp - 0x2b0], 0
jne 0x7cf7081d
mov eax, dword [ebp + 8]
and word [ebp - 0xa8], 0
lea edx, [ebp - 0xa8]
push 0x3c
mov ecx, dword [eax]
push edx
push 0
push 4
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x2b0]
push edi
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x2b0]
push 0x7cf3ce58
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cf7083f
mov dword [ebp - 0xc], 1
jmp 0x7cf708f4
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xcc]
push 2
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
push 0xffffffffffffffff
push 0x100c
mov dword [ebp - 0x70], 0x40
push dword [ebx + 0xd4]
mov dword [ebp - 0x58], 1
movzx eax, ax
mov dword [ebp - 0x64], eax
call esi
cmp eax, 0xffffffff
je 0x7cf708dd
lea ecx, [ebp - 0x20]
test ecx, ecx
je 0x7cf70892
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
jmp 0x7cf70894
xor ecx, ecx
push ecx
push eax
push 0x100e
push dword [ebx + 0xd4]
call esi
lea eax, [ebp - 0x20]
push 2
push eax
push 0
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
or byte [ebp - 0x69], 0x20
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.7cfae4ef
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.7cf6d0e9
push 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_IUnknown_SetSite]
mov edi, dword [sym.imp.SHLWAPI.dll_IUnknown_AtomicRelease]
lea eax, [ebp + 8]
push eax
call edi
lea eax, [ebp + 0xc]
push eax
call edi
cmp dword [ebp - 0xc], 0
je 0x7cf709df
mov ecx, ebx
call fcn.7cf5d4e9
test eax, eax
je 0x7cf709df
push 1
mov edi, 0x100c
push 0xffffffffffffffff
push edi
push dword [ebx + 0xd4]
call esi
test eax, eax
mov dword [ebp + 0x10], eax
jl 0x7cf709df
push 2
push eax
push 0x102c
push dword [ebx + 0xd4]
call esi
push 2
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push edi
push dword [ebx + 0xd4]
call esi
push 2
push 0xffffffffffffffff
push edi
mov dword [ebp + 0xc], eax
push dword [ebx + 0xd4]
call esi
cmp dword [ebp + 0xc], 0
jl 0x7cf70986
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jne 0x7cf7098f
test eax, eax
jl 0x7cf709cd
cmp eax, dword [ebp + 0x10]
je 0x7cf709cd
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x58]
push eax
mov edi, 0x102b
push 0xffffffffffffffff
push edi
push dword [ebx + 0xd4]
mov dword [ebp - 0x48], 2
call esi
cmp dword [ebp - 0x10], 0
je 0x7cf709cd
push 2
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x10]
push edi
push dword [ebx + 0xd4]
call esi
push 0
push dword [ebp + 0x10]
push 0x1076
push dword [ebx + 0xd4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc