Function at 0x49ffe0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Create thread
Delete file
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x724
push ebx
push esi
push edi
push dword [ebp + 0x14]
mov edi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
push dword [ebp + 8]
mov ecx, dword [edi + 0x111c]
push dword [ebp + 0x10]
call fcn.00530ff0
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x4a1141
push str.hide_tile
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp + 8], eax
test bl, bl
je 0x4a0083
mov ecx, dword [edi + 0x10e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x10e8]
test al, al
sete bl
mov byte [ebp + 0x14], bl
mov eax, dword [ecx]
push dword [ebp + 0x14]
call dword [eax + 0x90]
call fcn.00481830
mov byte [eax + 0x19], bl
call fcn.00481830
mov ecx, eax
call fcn.004a1fa0
jmp 0x4a0d39
push str.hide_group
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a00e9
mov ecx, dword [edi + 0x10ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x10ec]
test al, al
sete bl
mov byte [ebp + 0x14], bl
mov eax, dword [ecx]
push dword [ebp + 0x14]
call dword [eax + 0x90]
call fcn.00481830
mov byte [eax + 0x1a], bl
call fcn.00481830
mov ecx, eax
call fcn.004a1fa0
jmp 0x4a0d39
push str.hide_tag
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a015f
mov ecx, dword [edi + 0x1104]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x1104]
test al, al
sete bl
mov byte [ebp + 0x14], bl
mov eax, dword [ecx]
mov esi, dword [ebp + 0x14]
push esi
call dword [eax + 0x90]
mov ecx, dword [edi + 0x10f0]
push esi
mov eax, dword [ecx]
call dword [eax + 0x90]
call fcn.00481830
mov byte [eax + 0x1b], bl
call fcn.00481830
mov ecx, eax
call fcn.004a1fa0
jmp 0x4a0d36
push str.change_absolute
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a01a0
call fcn.0047a670
mov ecx, eax
call fcn.00475030
push 0
mov ecx, edi
call fcn.0049de60
jmp 0x4a0d39
push str.change_relative
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a01e1
call fcn.0047a670
mov ecx, eax
call fcn.00475830
push 0
mov ecx, edi
call fcn.0049de60
jmp 0x4a0d39
push str.update
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0228
push 1
push 0x592f34
push 0x592f34
push str.https:__www.yuque.com_lucy_lucy_record
push str.open
push 0
call dword [ebp + 8]
jmp 0x4a0d39
push str.help
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a026f
push 1
push 0x592f34
push 0x592f34
push str.https:__www.yuque.com_lucy_lucy
push str.open
push 0
call dword [ebp + 8]
jmp 0x4a0d39
push str.hotkey
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0379
push 0x26c
call fcn.005313dc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a02fb
mov dword [ebx + 8], 0x57ee90
mov ecx, ebx
mov dword [ebx + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
push 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
call fcn.004389a0
mov eax, dword [ebx + 8]
mov dword [ebx], vtable.CHotKeyWnd.0
mov dword [ebx + method.CHideWnd.virtual_60], vtable.CHotKeyWnd.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 8], vtable.CHotKeyWnd.2.0
jmp 0x4a02fd
xor ebx, ebx
mov dword [edi + 0x1120], ebx
lea ecx, [ebp - 0x18]
mov eax, dword [ebx]
xorps xmm0, xmm0
push ecx
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
call dword [eax]
cmp dword [eax + 0x14], 8
jb 0x4a031c
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0x80
push 0x80000000
push eax
mov ecx, edi
call fcn.004237c0
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov ecx, ebx
call fcn.00423f80
mov ecx, ebx
call fcn.00423e60
mov ecx, ebx
mov esi, eax
call fcn.0048a710
mov dword [edi + 0x1120], 0
cmp esi, 1
je 0x4a0d36
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.setting
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0d39
call fcn.00481830
push 0x26c
mov al, byte [eax + 0x70]
mov byte [ebp + 0x17], al
call fcn.005313dc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a0410
mov dword [ebx + 8], 0x57e5b0
mov ecx, ebx
mov dword [ebx + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
push 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
call fcn.004389a0
mov eax, dword [ebx + 8]
mov dword [ebx], vtable.CSettingWnd.0
mov dword [ebx + method.CHideWnd.virtual_60], vtable.CSettingWnd.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 8], vtable.CSettingWnd.2.0
jmp 0x4a0412
xor ebx, ebx
mov dword [edi + 0x1120], ebx
lea ecx, [ebp - 0x18]
mov eax, dword [ebx]
xorps xmm0, xmm0
push ecx
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
call dword [eax]
cmp dword [eax + 0x14], 8
jb 0x4a0431
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0x80
push 0x80000000
push eax
mov ecx, edi
call fcn.004237c0
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov ecx, ebx
call fcn.00423f80
mov ecx, ebx
call fcn.00423e60
mov ecx, ebx
mov esi, eax
call fcn.0048a710
mov dword [edi + 0x1120], 0
cmp esi, 1
jne 0x4a1141
call fcn.00481830
cmp dword [eax + 0x9c], 0
je 0x4a04c2
call fcn.00481830
add eax, 0x8c
push eax
call fcn.0047fe10
add esp, 4
mov ecx, edi
call fcn.00426fd0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [edi + 0x111c]
push esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
call fcn.00481830
mov esi, dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
cmp byte [eax + 0x20], 0
je 0x4a0528
lea eax, [ebp - 0x40]
push eax
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0
call fcn.0048b590
push 0
push 0x64
push 1
mov ecx, edi
call fcn.004237c0
push eax
call ebx
push dword [edi + 0x27c]
call dword [sym.imp.WINMM.dll_timeKillEvent]
push 1
push edi
push 0x48cba0
push 1
push 5
call dword [sym.imp.WINMM.dll_timeSetEvent]
jmp 0x4a0540
push 1
call fcn.004237c0
push eax
call esi
push dword [edi + 0x27c]
call dword [sym.imp.WINMM.dll_timeKillEvent]
xor eax, eax
push 7
mov ecx, edi
mov dword [edi + 0x27c], eax
call fcn.004237c0
push eax
call esi
call fcn.00481830
cmp byte [eax + 0x33], 0
je 0x4a057b
push 1
mov ecx, edi
call fcn.004a4bc0
push 0
push 0x3e8
push 7
mov ecx, edi
call fcn.004237c0
push eax
call ebx
jmp 0x4a05a2
push 0x592f34
lea ecx, [ebp - 0x30]
call fcn.00402fa0
mov ecx, dword [edi + 0x10f8]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x154]
lea ecx, [ebp - 0x30]
call fcn.00403070
push str.btn_search
lea ecx, [ebp - 0x30]
call fcn.00402fa0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004270b0
mov esi, eax
mov edi, dword [esi]
call fcn.00481830
movzx ecx, byte [eax + 0x34]
push ecx
mov ecx, esi
call dword [edi + 0x90]
lea ecx, [ebp - 0x30]
call fcn.00403070
push str.btn_menu
lea ecx, [ebp - 0x30]
call fcn.00402fa0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
call fcn.004270b0
mov esi, eax
mov edi, dword [esi]
call fcn.00481830
movzx ecx, byte [eax + 0x35]
push ecx
mov ecx, esi
call dword [edi + 0x90]
lea ecx, [ebp - 0x30]
call fcn.00403070
push str.titlebox
lea ecx, [ebp - 0x30]
call fcn.00402fa0
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004270b0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00403070
call fcn.00481830
mov ecx, edi
movzx eax, byte [eax + 0x1e]
push eax
call fcn.0043a960
push 1
push 1
call fcn.00481830
mov ecx, dword [edi + 0x1104]
mov eax, dword [eax + 0x64]
push eax
call fcn.00429fa0
mov ecx, dword [edi + 0x1100]
test ecx, ecx
je 0x4a074f
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov ebx, eax
call fcn.00481830
mov esi, dword [eax + 0x5c]
mov dword [ebp + 0x10], esi
call fcn.00481830
cmp byte [eax + 0x60], 0
je 0x4a06da
push 0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00424b80
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, esi
imul eax, ebx
cmp eax, ecx
jge 0x4a06da
push 0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00424b80
push 1
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
lea eax, [ecx - 4]
cdq
idiv ebx
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x10], eax
mov dword [ecx], eax
mov dword [ecx + 4], 0x1e
jmp 0x4a06f2
call fcn.00481830
push 1
sub esp, 8
mov ecx, dword [eax + 0x5c]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x1e
mov ecx, dword [edi + 0x1100]
push 0
push 0x5b7178
push 0x5b6c40
mov eax, dword [ecx]
push 0
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043ca90
xor esi, esi
test ebx, ebx
jle 0x4a0746
mov ecx, dword [edi + 0x1100]
push esi
mov eax, dword [ecx]
call dword [eax + 0x150]
push 1
push 1
push dword [ebp + 0x10]
mov ecx, eax
call fcn.00429fa0
inc esi
cmp esi, ebx
jl 0x4a0724
push 0
mov ecx, edi
call fcn.0049d0c0
call fcn.00481830
mov cl, byte [ebp + 0x17]
cmp byte [eax + 0x70], cl
je 0x4a0871
call fcn.00481830
push str.tag_lnk_box
lea ecx, [ebp - 0x30]
cmp byte [eax + 0x70], 0
je 0x4a07ee
call fcn.00402fa0
push 0
push 0x5b69b0
push 0x5b67e4
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004270b0
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00403070
mov edx, dword [esi]
mov ecx, esi
push 0
call dword [edx + 0x178]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x170]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x178]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x1108]
call dword [eax + 0x160]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10f0]
call dword [eax + 0x160]
push dword [edi + 0x1104]
jmp 0x4a0867
call fcn.00402fa0
push 0
push 0x5b69b0
push 0x5b67e4
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004270b0
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00403070
mov edx, dword [esi]
mov ecx, esi
push 0
call dword [edx + 0x178]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x170]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x178]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x1104]
call dword [eax + 0x160]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10f0]
call dword [eax + 0x160]
push dword [edi + 0x1108]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x160]
call fcn.00481830
mov cl, byte [edi + 0x1160]
mov al, byte [eax + 0x32]
test al, al
je 0x4a089f
test cl, cl
je 0x4a08b9
lea eax, [edi + 0x1161]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0x1160], 0
jmp 0x4a08b9
test cl, cl
jne 0x4a08b9
lea eax, [edi + 0x1161]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0x1160], 1
push 0
push 0
push 6
call fcn.0040f470
add esp, 0xc
mov ecx, str._USERPROFILE__
test al, al
mov esi, str._APPDATA_MicrosoftWindowsStart_MenuProgramsStartupLucy.lnk
lea eax, [ebp - 0x2cc]
cmove esi, ecx
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call fcn.00481830
cmp byte [eax + 0x18], 0
je 0x4a0afe
xor eax, eax
mov dword [ebp - 0x38], 0
push eax
push 0x104
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00402d80
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
push 0x592f38
lea ecx, [ebp - 0x48]
call fcn.00450b50
inc eax
lea ecx, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0040f770
lea eax, [ebp - 0x2cc]
push eax
call fcn.004944a0
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
add esp, 4
test eax, eax
je 0x4a0a5e
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 0x58c034
push 1
push 0
push 0x58c084
call ebx
test eax, eax
js 0x4a0a5e
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x10]
push edx
push 0x58c0a4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4a0a55
mov eax, dword [ebp + 0x10]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a0a4c
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x724]
push 4
push edx
push 0x104
mov ecx, dword [eax]
lea edx, [ebp - 0x4d4]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4a0a4c
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x64]
call fcn.00402fa0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00401570
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401570
push esi
push eax
call fcn.00405bb0
add esp, 0x18
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x7c]
call fcn.00403070
lea ecx, [ebp - 0x64]
call fcn.00403070
test bl, bl
jne 0x4a0a46
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x2cc]
push eax
call fcn.004944a0
add esp, 4
test eax, eax
jne 0x4a0aec
lea eax, [ebp + 0x14]
push eax
push 0x58c034
push 1
push 0
push 0x58c084
call ebx
test eax, eax
js 0x4a0aec
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae edx, dword [ebp - 0x48]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae edx, dword [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x10]
push edx
push 0x58c0a4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4a0ae3
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x2cc]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
call fcn.00403070
lea ecx, [ebp - 0x48]
call fcn.00403070
jmp 0x4a0b0b
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x1550]
mov ebx, dword [sym.imp.USER32.dll_UnregisterHotKey]
test eax, eax
je 0x4a0b30
push eax
mov ecx, edi
call fcn.004237c0
push eax
call ebx
mov dword [edi + 0x1550], 0
call fcn.00481830
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4a0bda
movzx esi, al
shr eax, 8
push str.LucyHotKey
movzx ebx, al
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
sub eax, 0xc000
mov dword [edi + 0x1550], eax
je 0x4a0bd4
test esi, esi
je 0x4a0bd4
test ebx, ebx
je 0x4a0bd4
push esi
push ebx
push eax
mov ecx, edi
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x4a0bd4
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0047f4f0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0x57f5e4
push eax
call fcn.004014d0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x4a0bb1
mov eax, dword [eax]
push 0x40010
push 0x57f3bc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x18]
call fcn.00403070
lea ecx, [ebp - 0x30]
call fcn.00403070
mov ebx, dword [sym.imp.USER32.dll_UnregisterHotKey]
mov eax, dword [edi + 0x1554]
test eax, eax
je 0x4a0bf9
push eax
mov ecx, edi
call fcn.004237c0
push eax
call ebx
mov dword [edi + 0x1554], 0
call fcn.00481830
mov eax, dword [eax + 0xc4]
test eax, eax
je 0x4a0ca0
movzx esi, al
shr eax, 8
push str.LucySearchHotKey
movzx ebx, al
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
sub eax, 0xc000
mov dword [edi + 0x1554], eax
je 0x4a0ca0
test esi, esi
je 0x4a0ca0
test ebx, ebx
je 0x4a0ca0
push esi
push ebx
push eax
mov ecx, edi
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x4a0ca0
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0047f4f0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0x57f5e4
push eax
call fcn.004014d0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x4a0c7d
mov eax, dword [eax]
push 0x40010
push 0x57f3bc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x18]
call fcn.00403070
lea ecx, [ebp - 0x30]
call fcn.00403070
mov ecx, edi
call fcn.004237c0
mov esi, eax
call fcn.00481830
mov dword [eax + 4], esi
call fcn.00481830
cmp byte [eax + 0x2b], 0
jne 0x4a0d01
call fcn.00481830
cmp byte [eax + 0x2c], 0
jne 0x4a0d01
call fcn.00481830
cmp byte [eax + 0x2a], 0
jne 0x4a0d01
call fcn.00481830
cmp byte [eax + 0x29], 0
jne 0x4a0d01
call fcn.00481830
cmp dword [eax], 0
je 0x4a0cf4
call fcn.00481830
push dword [eax]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.00481830
mov dword [eax], 0
jmp 0x4a0d2d
call fcn.00481830
cmp dword [eax], 0
jne 0x4a0d2d
mov esi, dword [edi + 0x115c]
call fcn.00481830
push 0
push esi
push 0x494830
push 0xe
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi], eax
mov edi, dword [ebp - 0x4c]
push 0
mov ecx, edi
call fcn.0049de60
mov esi, dword [ebp + 0xc]
push str.small_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0d82
push 1
call fcn.0047a670
mov ecx, eax
call fcn.0047a930
push 0
mov ecx, edi
call fcn.0049de60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.big_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0dcb
push 0
call fcn.0047a670
mov ecx, eax
call fcn.0047a930
push 0
mov ecx, edi
call fcn.0049de60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.large_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0e14
push 2
call fcn.0047a670
mov ecx, eax
call fcn.0047a930
push 0
mov ecx, edi
call fcn.0049de60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.view_list
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0e3f
push 1
jmp 0x4a0e68
push str.view_tile
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0e88
push 0
call fcn.0047a670
mov ecx, eax
call fcn.0047ab70
push 0
mov ecx, edi
call fcn.0049de60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.close
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0ec3
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.refresh_all_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0f0a
call fcn.0047a670
mov ecx, eax
call fcn.00479000
push 0
mov ecx, edi
call fcn.0049de60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.clean_db
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0f54
call fcn.0047a610
mov ecx, eax
call fcn.0046ecd0
call fcn.0047a670
mov ecx, eax
call fcn.00475f00
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.refresh_sys_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
lea eax, [ebp - 0x18]
test bl, bl
je 0x4a0fed
push 0x57fa7c
push eax
call fcn.00450ba0
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040be30
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00403070
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a0fda
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa
cmovae eax, dword [ebp - 0x48]
push 0x592f34
push 0x592f34
push eax
push str.open
push 0
call dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00403070
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.SysFunc
push eax
mov ecx, esi
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1141
mov eax, dword [esi + 0x64]
lea ecx, [ebp - 0x18]
lea edi, [eax*8]
sub edi, eax
push dword [edi*4 + 0x5b2444]
call fcn.00402fa0
push 0x592f34
lea ecx, [ebp - 0x7c]
call fcn.00402fa0
push 0x592f34
lea ecx, [ebp - 0xc4]
call fcn.00402fa0
push dword [edi*4 + 0x5b2440]
lea ecx, [ebp - 0xac]
call fcn.00402fa0
push dword [edi*4 + 0x5b2438]
lea ecx, [ebp - 0x94]
call fcn.00402fa0
push dword [edi*4 + 0x5b243c]
lea ecx, [ebp - 0x30]
call fcn.00402fa0
push dword [edi*4 + 0x5b2434]
lea ecx, [ebp - 0x64]
call fcn.00402fa0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [edi*4 + 0x5b2430]
lea eax, [ebp - 0x38]
push eax
lea esi, [ecx + 0x10cc]
call fcn.00494ce0
push eax
mov ecx, esi
call fcn.0040add0
lea ecx, [ebp - 0x38]
call fcn.00407100
lea ecx, [ebp - 0x64]
call fcn.00403070
lea ecx, [ebp - 0x30]
call fcn.00403070
lea ecx, [ebp - 0x94]
call fcn.00403070
lea ecx, [ebp - 0xac]
call fcn.00403070
lea ecx, [ebp - 0xc4]
call fcn.00403070
lea ecx, [ebp - 0x7c]
call fcn.00403070
lea ecx, [ebp - 0x18]
call fcn.00403070
mov eax, dword [esi]
test eax, eax
je 0x4a1141
push 0
push 0
push eax
push 0x4a3aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10