Function at 0x4a0530
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 + 0x1108]
push dword [ebp + 0x10]
call fcn.00531910
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x4a1812
push str.hide_tile
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
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 0x4a05d3
mov ecx, dword [edi + 0x10d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x10d4]
test al, al
sete bl
mov byte [ebp + 0x14], bl
mov eax, dword [ecx]
push dword [ebp + 0x14]
call dword [eax + 0x90]
call fcn.00478990
mov byte [eax + 0x1d], bl
call fcn.00478990
mov ecx, eax
call fcn.004a2690
jmp 0x4a1329
push str.hide_group
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0639
mov ecx, dword [edi + 0x10d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x10d8]
test al, al
sete bl
mov byte [ebp + 0x14], bl
mov eax, dword [ecx]
push dword [ebp + 0x14]
call dword [eax + 0x90]
call fcn.00478990
mov byte [eax + 0x1e], bl
call fcn.00478990
mov ecx, eax
call fcn.004a2690
jmp 0x4a1329
push str.hide_tag
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a06af
mov ecx, dword [edi + 0x10f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [edi + 0x10f0]
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 + 0x10dc]
push esi
mov eax, dword [ecx]
call dword [eax + 0x90]
call fcn.00478990
mov byte [eax + 0x1f], bl
call fcn.00478990
mov ecx, eax
call fcn.004a2690
jmp 0x4a1326
push str.change_absolute
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a06f0
call fcn.00478890
mov ecx, eax
call fcn.00473090
push 0
mov ecx, edi
call fcn.0049e290
jmp 0x4a1329
push str.change_relative
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0731
call fcn.00478890
mov ecx, eax
call fcn.00473890
push 0
mov ecx, edi
call fcn.0049e290
jmp 0x4a1329
push str.update
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a0778
push 1
push 0x594564
push 0x594564
push str.https:__www.yuque.com_lucy_lucy_record
push str.open
push 0
call dword [ebp + 8]
jmp 0x4a1329
push str.help
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a07bf
push 1
push 0x594564
push 0x594564
push str.https:__www.yuque.com_lucy_lucy
push str.open
push 0
call dword [ebp + 8]
jmp 0x4a1329
push str.hotkey
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a08c9
push 0x26c
call fcn.00531cfc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a084b
mov dword [ebx + 8], 0x580428
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.00437fa0
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 0x4a084d
xor ebx, ebx
mov dword [edi + 0x110c], 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 0x4a086c
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push 1
push 0x80
push 0x80000000
push eax
mov ecx, edi
call fcn.00423fd0
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov ecx, ebx
call fcn.00424760
mov ecx, ebx
call fcn.00424670
mov ecx, ebx
mov esi, eax
call fcn.004893e0
mov dword [edi + 0x110c], 0
cmp esi, 1
je 0x4a1326
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1329
call fcn.00478990
push 0x274
mov al, byte [eax + 0x78]
mov byte [ebp + 0x17], al
call fcn.00531cfc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a0960
mov dword [ebx + 8], 0x57faa8
mov ecx, ebx
mov dword [ebx + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
push 0
mov dword [ebx + 0x26c], 0
mov dword [ebx + 0x270], 0
call fcn.00437fa0
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 0x4a0962
xor ebx, ebx
mov dword [edi + 0x110c], 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 0x4a0981
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push 1
push 0x80
push 0x80000000
push eax
mov ecx, edi
call fcn.00423fd0
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov ecx, ebx
call fcn.00424760
mov ecx, ebx
call fcn.00424670
mov ecx, ebx
mov esi, eax
call fcn.004893e0
mov dword [edi + 0x110c], 0
cmp esi, 1
jne 0x4a1812
call fcn.00478990
mov ecx, edi
mov eax, dword [eax + 0xe0]
push eax
call fcn.00428010
call fcn.00478990
cmp dword [eax + 0xa4], 0
je 0x4a0a25
call fcn.00478990
add eax, 0x94
push eax
call fcn.0047e510
add esp, 4
mov ecx, edi
call fcn.004277a0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [edi + 0x1108]
push esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
call fcn.00478990
mov esi, dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
cmp byte [eax + 0x24], 0
je 0x4a0a8b
lea eax, [ebp - 0x40]
push eax
call fcn.00423fd0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0
call fcn.0048a280
push 0
push 0x64
push 1
mov ecx, edi
call fcn.00423fd0
push eax
call ebx
push dword [edi + 0x27c]
call dword [sym.imp.WINMM.dll_timeKillEvent]
push 1
push edi
push 0x48ba90
push 1
push 5
call dword [sym.imp.WINMM.dll_timeSetEvent]
jmp 0x4a0aa3
push 1
call fcn.00423fd0
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.00423fd0
push eax
call esi
call fcn.00478990
cmp byte [eax + 0x38], 0
je 0x4a0ade
push 1
mov ecx, edi
call fcn.004a5420
push 0
push 0x3e8
push 7
mov ecx, edi
call fcn.00423fd0
push eax
call ebx
jmp 0x4a0b05
push 0x594564
lea ecx, [ebp - 0x30]
call fcn.00402fa0
mov ecx, dword [edi + 0x10e4]
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.00427880
mov esi, eax
mov edi, dword [esi]
call fcn.00478990
movzx ecx, byte [eax + 0x39]
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.00427880
mov esi, eax
mov edi, dword [esi]
call fcn.00478990
movzx ecx, byte [eax + 0x3a]
push ecx
mov ecx, esi
call dword [edi + 0x90]
lea ecx, [ebp - 0x30]
call fcn.00403070
push str.btn_skin
lea ecx, [ebp - 0x30]
call fcn.00402fa0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
call fcn.00427880
mov esi, eax
mov edi, dword [esi]
call fcn.00478990
movzx ecx, byte [eax + 0x3b]
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.00427880
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00403070
call fcn.00478990
mov ecx, edi
movzx eax, byte [eax + 0x22]
push eax
call fcn.00439cb0
push 1
push 1
call fcn.00478990
mov ecx, dword [edi + 0x10f0]
mov eax, dword [eax + 0x6c]
push eax
call fcn.0042a610
mov ecx, dword [edi + 0x10ec]
test ecx, ecx
je 0x4a0ceb
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov ebx, eax
call fcn.00478990
mov esi, dword [eax + 0x64]
mov dword [ebp + 0x10], esi
call fcn.00478990
cmp byte [eax + 0x68], 0
je 0x4a0c74
push 0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00425370
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, esi
imul eax, ebx
cmp eax, ecx
jge 0x4a0c74
push 0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00425370
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 0x4a0c8c
call fcn.00478990
push 1
sub esp, 8
mov ecx, dword [eax + 0x64]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x1e
mov ecx, dword [edi + 0x10ec]
push 0
push 0x5b81a0
push 0x5b7c68
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.0043bb80
xor esi, esi
test ebx, ebx
jle 0x4a0ce2
nop
mov ecx, dword [edi + 0x10ec]
push esi
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
push 1
push 1
push dword [ebp + 0x10]
mov ecx, eax
call fcn.0042a610
inc esi
cmp esi, ebx
jl 0x4a0cc0
push 0
mov ecx, edi
call fcn.0049d480
call fcn.00478990
mov cl, byte [ebp + 0x17]
cmp byte [eax + 0x78], cl
je 0x4a0e0d
call fcn.00478990
push str.tag_lnk_box
lea ecx, [ebp - 0x30]
cmp byte [eax + 0x78], 0
je 0x4a0d8a
call fcn.00402fa0
push 0
push 0x5b79d8
push 0x5b780c
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00427880
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 + 0x10f4]
call dword [eax + 0x160]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10dc]
call dword [eax + 0x160]
push dword [edi + 0x10f0]
jmp 0x4a0e03
call fcn.00402fa0
push 0
push 0x5b79d8
push 0x5b780c
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00427880
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 + 0x10f0]
call dword [eax + 0x160]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x10dc]
call dword [eax + 0x160]
push dword [edi + 0x10f4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x160]
call fcn.00478990
mov cl, byte [edi + 0x114c]
mov al, byte [eax + 0x37]
test al, al
je 0x4a0e3b
test cl, cl
je 0x4a0e55
lea eax, [edi + 0x114d]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0x114c], 0
jmp 0x4a0e55
test cl, cl
jne 0x4a0e55
lea eax, [edi + 0x114d]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0x114c], 1
push 0
push 0
push 6
call fcn.0040f720
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.00478990
cmp byte [eax + 0x1c], 0
je 0x4a109a
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 0x594568
lea ecx, [ebp - 0x48]
call fcn.00450cf0
inc eax
lea ecx, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0040fac0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00494280
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
add esp, 4
test eax, eax
je 0x4a0ffa
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 0x58d664
push 1
push 0
push 0x58d6b4
call ebx
test eax, eax
js 0x4a0ffa
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x10]
push edx
push 0x58d6d4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4a0ff1
mov eax, dword [ebp + 0x10]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a0fe8
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 0x4a0fe8
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402fa0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
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.00405b30
add esp, 0x18
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x64]
call fcn.00403070
lea ecx, [ebp - 0x7c]
call fcn.00403070
test bl, bl
jne 0x4a0fe2
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.00494280
add esp, 4
test eax, eax
jne 0x4a1088
lea eax, [ebp + 0x14]
push eax
push 0x58d664
push 1
push 0
push 0x58d6b4
call ebx
test eax, eax
js 0x4a1088
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 0x58d6d4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4a107f
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 0x4a10a7
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x153c]
mov ebx, dword [sym.imp.USER32.dll_UnregisterHotKey]
test eax, eax
je 0x4a10cc
push eax
mov ecx, edi
call fcn.00423fd0
push eax
call ebx
mov dword [edi + 0x153c], 0
call fcn.00478990
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4a119a
movzx esi, al
shr eax, 8
push str.LucyHotKey
movzx ebx, al
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
add eax, 0xffff4000
mov dword [edi + 0x153c], eax
je 0x4a1194
test esi, esi
je 0x4a1194
test ebx, ebx
je 0x4a1194
cmp esi, 5
je 0x4a111e
cmp esi, 6
jne 0x4a112c
call fcn.00478990
mov byte [eax], 1
mov eax, dword [edi + 0x153c]
push esi
push ebx
push eax
mov ecx, edi
call fcn.00423fd0
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x4a1194
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0047dab0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0x580b90
push eax
call fcn.004014d0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x4a1171
mov eax, dword [eax]
push 0x40010
push 0x580954
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 + 0x1540]
test eax, eax
je 0x4a11b9
push eax
mov ecx, edi
call fcn.00423fd0
push eax
call ebx
mov dword [edi + 0x1540], 0
call fcn.00478990
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x4a1284
movzx esi, al
shr eax, 8
push str.LucySearchHotKey
movzx ebx, al
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
add eax, 0xffff4000
mov dword [edi + 0x1540], eax
je 0x4a1284
test esi, esi
je 0x4a1284
test ebx, ebx
je 0x4a1284
cmp esi, 5
je 0x4a120e
cmp esi, 6
jne 0x4a121c
call fcn.00478990
mov byte [eax], 1
mov eax, dword [edi + 0x1540]
push esi
push ebx
push eax
mov ecx, edi
call fcn.00423fd0
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x4a1284
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0047dab0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0x580b90
push eax
call fcn.004014d0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x4a1261
mov eax, dword [eax]
push 0x40010
push 0x580954
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.00423fd0
mov esi, eax
call fcn.00478990
mov dword [eax + 8], esi
call fcn.00478990
cmp byte [eax + 0x2f], 0
jne 0x4a12f3
call fcn.00478990
cmp byte [eax + 0x30], 0
jne 0x4a12f3
call fcn.00478990
cmp byte [eax + 0x2e], 0
jne 0x4a12f3
call fcn.00478990
cmp byte [eax + 0x2d], 0
jne 0x4a12f3
call fcn.00478990
cmp byte [eax], 0
jne 0x4a12f3
call fcn.00478990
cmp dword [eax + 4], 0
je 0x4a12e5
call fcn.00478990
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.00478990
mov dword [eax + 4], 0
jmp 0x4a131d
call fcn.00478990
cmp dword [eax + 4], 0
jne 0x4a131d
push 0
push dword [edi + 0x1148]
push 0x494610
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, eax
call fcn.00478990
mov dword [eax + 4], esi
push 0
mov ecx, edi
call fcn.0049e290
mov esi, dword [ebp + 0xc]
push str.small_icon
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1372
push 1
call fcn.00478890
mov ecx, eax
call fcn.00478d00
push 0
mov ecx, edi
call fcn.0049e290
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a13bb
push 0
call fcn.00478890
mov ecx, eax
call fcn.00478d00
push 0
mov ecx, edi
call fcn.0049e290
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1404
push 2
call fcn.00478890
mov ecx, eax
call fcn.00478d00
push 0
mov ecx, edi
call fcn.0049e290
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a142f
push 1
jmp 0x4a1458
push str.view_tile
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1478
push 0
call fcn.00478890
mov ecx, eax
call fcn.00478f40
push 0
mov ecx, edi
call fcn.0049e290
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a14b3
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a14fa
call fcn.00478890
mov ecx, eax
call fcn.004771e0
push 0
mov ecx, edi
call fcn.0049e290
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1544
call fcn.00478830
mov ecx, eax
call fcn.0046cc50
call fcn.00478890
mov ecx, eax
call fcn.00473f60
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
lea eax, [ebp - 0x18]
test bl, bl
je 0x4a15dd
push 0x58108c
push eax
call fcn.00450d40
add esp, 4
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040c0b0
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 0x4a15ca
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xa
cmovae eax, dword [ebp - 0x48]
push 0x594564
push 0x594564
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.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1744
mov eax, dword [esi + 0x64]
lea ecx, [ebp - 0x18]
lea edi, [eax*8]
sub edi, eax
push dword [edi*4 + 0x5b3444]
call fcn.00402fa0
push 0x594564
lea ecx, [ebp - 0x64]
call fcn.00402fa0
push 0x594564
lea ecx, [ebp - 0xc4]
call fcn.00402fa0
push dword [edi*4 + 0x5b3440]
lea ecx, [ebp - 0xac]
call fcn.00402fa0
push dword [edi*4 + 0x5b3438]
lea ecx, [ebp - 0x94]
call fcn.00402fa0
push dword [edi*4 + 0x5b343c]
lea ecx, [ebp - 0x30]
call fcn.00402fa0
push dword [edi*4 + 0x5b3434]
lea ecx, [ebp - 0x7c]
call fcn.00402fa0
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
mov ecx, ebx
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 - 0x7c]
push eax
push dword [edi*4 + 0x5b3430]
lea eax, [ebp - 0x38]
push eax
call fcn.00494b80
push eax
lea ecx, [ebx + 0x10cc]
call fcn.00486440
lea ecx, [ebp - 0x38]
call fcn.00471910
lea ecx, [ebp - 0x7c]
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 - 0x64]
call fcn.00403070
lea ecx, [ebp - 0x18]
call fcn.00403070
mov eax, dword [ebx + 0x10cc]
test eax, eax
je 0x4a1812
push 0
push 0
push eax
push 0x4a4310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.MenuSkinItem
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042a530
push eax
call fcn.00407240
add esp, 8
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00403070
test bl, bl
je 0x4a1812
push str.MenuItemText
lea ecx, [ebp - 0x18]
call fcn.00402fa0
push 0
push 0x5b8710
push 0x5b780c
push 0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00434100
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00403070
test esi, esi
je 0x4a1812
mov edx, dword [esi]
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call dword [edx + 0x14c]
push eax
call fcn.00478990
lea ecx, [eax + 0x94]
call fcn.0040fa80
lea ecx, [ebp - 0x64]
call fcn.00403070
call fcn.00478990
mov ecx, eax
call fcn.004a2690
call fcn.00478990
add eax, 0x94
push eax
call fcn.0047e510
add esp, 4
mov ecx, edi
call fcn.004277a0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [edi + 0x1108]
push 1
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10