joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd014
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x407]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x408], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xd010]
call fcn.00403050
lea edx, [ebp - 0xcc10]
mov dword [ebp - 0xd010], 0x544547
mov eax, edi
sub edx, edi
jmp 0x4111f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4111f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5a56b0
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x411243
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x411243
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push 0x5a56b0
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x411245
xor esi, esi
push str.1905Cache1
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x411286
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x411286
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push str.1905Cache1
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x411288
xor eax, eax
push esi
push eax
lea edx, [ebp - 0x408]
push edx
push str._s_s_sRecommend.jpg
lea eax, [ebp - 0x7c10]
push 0x2800
push eax
call fcn.005468fa
add esp, 0x18
mov ecx, 0x5e5968
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
lea ecx, [ebp - 0x7c10]
push ecx
push 0x2d
lea edx, [ebp - 0x2c08]
push str.type_d_saveFile_s
push edx
mov dword [ebp - 0x2c10], eax
mov dword [ebp - 0x2c0c], 0x402
call fcn.00546876
add esp, 0x10
mov eax, 0xcc08
lea esi, [ebp - 0xd010]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.004028a0
lea esp, [ebp - 0xd020]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
Function at 0x412300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
push edi
push eax
mov edi, ecx
call dword [sym.imp.WasabiDLL.dll_WSB_Player_Stop]
add esp, 4
test eax, eax
jne 0x412321
call fcn.00412170
lea edx, [esi + 0x2c]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412328
test ebx, ebx
je 0x41234a
lea edx, [esi + 0x42c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412340
cmp dword [ebp + 8], 0
je 0x412390
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x412390
lea edi, [ebx + 1]
push edi
call fcn.00444c8f
push edi
push 0
push eax
mov dword [esi + 0x82c], eax
call fcn.00549e40
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x82c]
add esp, 0x10
jmp 0x412380
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x412380
mov dword [esi + 0x830], ebx
push 0
push 0
push esi
push 0x412530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x24], eax
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x41c580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x572f42
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5dbcc8]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov eax, dword [0x5dbcc8]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
push 0
add edi, 0x2c
push edi
lea ecx, [esp + 0x20]
push ecx
push 0
push ecx
mov dword [esp + 0x18c], 0
mov eax, esp
mov dword [esp + 0x2c], vtable.CThirdListDialogBuilderCallbackEx.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], esp
mov dword [eax], str.FilmDetailSkinThirdItemXML.xml
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
push ebx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0040c9f0
mov byte [esp + 0x178], 1
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.thirdtext
push esi
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
mov edi, eax
test edi, edi
je 0x41c6b3
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.0040c9f0
mov byte [esp + 0x178], 2
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x274]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [edx + 0x10]
add ecx, 0x4a0
push esi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x178], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 4
Function at 0x41e320
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0x113
jne 0x41e406
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x46c]
jne 0x41e413
cmp dword [0x5eb47c], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
jne 0x41e368
cmp dword [0x5eb480], 0
jne 0x41e368
push 0x5eb47c
call edi
lea ecx, [ebp - 8]
push ecx
call edi
mov eax, dword [0x5eb47c]
sub eax, dword [ebp - 8]
pop edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x41e393
mov eax, dword [0x5eb480]
sub eax, dword [ebp - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x41e3bc
cmp dword [esi + 0x454], 0
je 0x41e3bc
mov ecx, dword [esi + 0x474]
test ecx, ecx
je 0x41e3bc
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov dword [esi + 0x470], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [0x5eb47c], ecx
mov dword [0x5eb480], edx
mov eax, dword [esi + 0x470]
cmp eax, 0x4b
jge 0x41e413
cmp dword [esi + 0x454], 0
je 0x41e413
inc eax
mov dword [esi + 0x470], eax
cmp eax, 0x4b
jne 0x41e413
mov ecx, dword [esi + 0x474]
test ecx, ecx
je 0x41e413
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
jmp 0x41e413
cmp ebx, 0x203
jne 0x41e413
call fcn.0041e670
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571b5c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
push 0x5a603c
mov ecx, esi
call ebx
test al, al
je 0x41e62d
push str.flashplayclosebtn
lea ecx, [ebp - 0x94]
call ebx
test al, al
je 0x41e5cc
lea eax, [edi - 0x20]
call fcn.0041efd0
jmp 0x41e62d
push str.flashplayerloadbtn
lea ecx, [ebp - 0x94]
call ebx
test al, al
je 0x41e601
lea edx, [edi + 0x3b8]
lea ecx, [edi + 0x3bc]
push edx
call fcn.0040d610
lea edx, [edi + 0x390]
mov ecx, 0x5e9854
call fcn.00422b10
jmp 0x41e62d
push str.DownloadFlashBtn
lea ecx, [ebp - 0x94]
call ebx
test al, al
je 0x41e62d
push 3
push 0
push str.https:__get.adobe.com_cn_flashplayer__fpchrome
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 4
Function at 0x41fb40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574d3b
mov eax, dword fs:[0]
push eax
mov eax, 0x3010
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.00549e40
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x810]
push str.select__from_LoadTable_order_by__id_desc_limit__d__d
push eax
call fcn.00546876
push 0x27ff
lea ecx, [ebp - 0x300f]
push ebx
push ecx
mov byte [ebp - 0x3010], bl
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x40f]
push ebx
push edx
mov byte [ebp - 0x410], bl
call fcn.00549e40
add esp, 0x34
push 1
push 0x23
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x41fc33
add eax, eax
mov dword [ebp - 0x3018], eax
call fcn.0054bbf0
mov esi, esp
cmp esi, ebx
je 0x41fc33
mov ecx, dword [ebp - 0x3018]
push ebx
push ebx
push ecx
push esi
push 0xffffffffffffffff
push str.1905Cache2
push ebx
push 3
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41fc35
xor eax, eax
push str.LocalData.db
push eax
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x3010]
push str._s_s_s
push eax
call fcn.00546876
lea ecx, [ebp - 0x3014]
push ecx
lea edx, [ebp - 0x3010]
push edx
mov dword [ebp - 0x3014], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x41fcbb
mov edx, dword [ebp - 0x3014]
lea eax, [ebp - 0x301c]
push eax
push edi
push 0x41f210
lea ecx, [ebp - 0x810]
push ecx
push edx
mov dword [ebp - 0x301c], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x41fcab
mov eax, dword [ebp - 0x3014]
push eax
jmp 0x41fcb2
mov ecx, dword [ebp - 0x3014]
push ecx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
call fcn.004457a5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41fcd5
push 0x80004005
call fcn.0040d6e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3018], eax
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x28]
push ecx
lea edx, [ebp - 0x3018]
push 0x5a90c0
push edx
call fcn.0040cb10
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x3018]
mov edx, dword [eax + 0x2c]
add esp, 0xc
push esi
call edx
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x3028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 8
Function at 0x420c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3010
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3ff
mov esi, ecx
lea ecx, [ebp - 0x803]
push 0
push ecx
mov dword [ebp - 0x300c], eax
mov byte [ebp - 0x804], 0
call fcn.00549e40
push 0x27ff
lea edx, [ebp - 0x3003]
push 0
push edx
mov byte [ebp - 0x3004], 0
call fcn.00549e40
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [esi]
test esi, esi
je 0x420d3c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x420d3c
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x420d3c
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x420d3e
xor eax, eax
push eax
lea edx, [ebp - 0x804]
push str.select_count___from_LoadTable_where_FilmID_s_and_LoadFlag1
push edx
call fcn.00546876
add esp, 0xc
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x420d98
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x420d98
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push str.1905Cache2
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x420d9a
xor eax, eax
push str.LocalData.db
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x3004]
push str._s_s_s
push ecx
call fcn.00546876
lea edx, [ebp - 0x3008]
push edx
lea eax, [ebp - 0x3004]
push eax
mov dword [ebp - 0x3008], 0
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x420e2a
mov edx, dword [ebp - 0x300c]
lea ecx, [ebp - 0x3010]
push ecx
mov ecx, dword [ebp - 0x3008]
push edx
mov dword [ebp - 0x3010], eax
push 0x41f1d0
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x420e1a
mov edx, dword [ebp - 0x3008]
push edx
jmp 0x420e21
mov eax, dword [ebp - 0x3008]
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
lea esp, [ebp - 0x301c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 4
Function at 0x421b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575ab3
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5dbcc8]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x5dbcc8]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edi, ecx
push 0x5a603c
mov ecx, ebx
call esi
push eax
call fcn.00547eda
add esp, 8
test eax, eax
jne 0x421d06
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
push str.load_done_close_btn
mov ecx, eax
mov dword [esp + 0xe4], 0
call esi
push eax
call fcn.00547eda
add esp, 8
test eax, eax
lea ecx, [esp + 0x44]
sete byte [esp + 0x17]
mov dword [esp + 0xe0], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x421be9
push 1
push 0
lea ecx, [edi - 0x20]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jmp 0x421d06
mov ecx, dword [ebx + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
push str.load_notice_OK
mov ecx, eax
mov dword [esp + 0xe4], 1
call esi
push eax
call fcn.00547eda
add esp, 8
test eax, eax
lea ecx, [esp + 0x44]
sete byte [esp + 0x17]
mov dword [esp + 0xe0], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x421d06
mov eax, dword [edi + 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421c61
push 1
push eax
lea ecx, [edi - 0x20]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jmp 0x421d0f
lea esi, [esp + 0x1c]
call fcn.00412890
mov dword [esp + 0xe0], 2
mov ecx, dword [edi + 0x260]
cmp dword [ecx - 0xc], 0
lea eax, [edi + 0x260]
mov ecx, esi
jne 0x421c92
lea edx, [edi + 0x258]
push edx
jmp 0x421c93
push eax
call fcn.0040d610
lea eax, [edi + 0x278]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d610
push 0x5a6d74
lea ecx, [esp + 0x28]
call fcn.0040ced0
lea eax, [edi + 0x2e0]
push eax
lea ecx, [esp + 0x34]
call fcn.0040d610
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
lea ecx, [esp + 0x48]
call fcn.00413a00
push 0
mov ecx, 0x5e6c4c
call fcn.00414720
push 1
push 0
lea ecx, [edi - 0x20]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
lea eax, [esp + 0x1c]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004129f0
push ebx
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 4
Function at 0x424960
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x300c
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x803]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x3008], ebx
mov byte [ebp - 0x804], 0
call fcn.00549e40
push 0x27ff
lea ecx, [ebp - 0x3003]
push 0
push ecx
mov byte [ebp - 0x3004], 0
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x403]
push 0
push edx
mov byte [ebp - 0x404], 0
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [ebx + 0xd40]
test esi, esi
jne 0x4249f4
xor eax, eax
jmp 0x424a39
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x424a31
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x424a31
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x424a33
xor eax, eax
mov ebx, dword [ebp - 0x3008]
push eax
lea ecx, [ebp - 0x804]
push str.delete_from_LoadTable_where_LoadFlag0_and_FilmID_s
push ecx
call fcn.00546876
add esp, 0xc
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x424a93
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x424a93
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push str.1905Cache2
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x424a95
xor eax, eax
push str.LocalData.db
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x3004]
push str._s_s_s
push eax
call fcn.00546876
lea ecx, [ebp - 0x3008]
push ecx
lea edx, [ebp - 0x3004]
xor esi, esi
push edx
mov dword [ebp - 0x3008], esi
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x424b19
mov edx, dword [ebp - 0x3008]
lea eax, [ebp - 0x300c]
push eax
push ebx
push esi
lea ecx, [ebp - 0x804]
push ecx
push edx
mov dword [ebp - 0x300c], esi
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x424b09
mov eax, dword [ebp - 0x3008]
push eax
jmp 0x424b10
mov ecx, dword [ebp - 0x3008]
push ecx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
lea esp, [ebp - 0x3018]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
Function at 0x424b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x300c
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x803]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x3008], ebx
mov byte [ebp - 0x804], 0
call fcn.00549e40
push 0x27ff
lea ecx, [ebp - 0x3003]
push 0
push ecx
mov byte [ebp - 0x3004], 0
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x403]
push 0
push edx
mov byte [ebp - 0x404], 0
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [ebx + 0xd40]
test esi, esi
jne 0x424bc4
xor eax, eax
jmp 0x424c09
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x424c01
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x424c01
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x424c03
xor eax, eax
mov ebx, dword [ebp - 0x3008]
push eax
lea ecx, [ebp - 0x804]
push str.select_count___from_LoadTable_where_FilmID_s
push ecx
call fcn.00546876
add esp, 0xc
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x424c63
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x424c63
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push str.1905Cache2
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x424c65
xor eax, eax
push str.LocalData.db
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x3004]
push str._s_s_s
push eax
call fcn.00546876
lea ecx, [ebp - 0x3008]
push ecx
lea edx, [ebp - 0x3004]
xor esi, esi
push edx
mov dword [ebp - 0x3008], esi
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x424ced
mov edx, dword [ebp - 0x3008]
lea eax, [ebp - 0x300c]
push eax
push ebx
push 0x423550
lea ecx, [ebp - 0x804]
push ecx
push edx
mov dword [ebp - 0x300c], esi
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x424cdd
mov eax, dword [ebp - 0x3008]
push eax
jmp 0x424ce4
mov ecx, dword [ebp - 0x3008]
push ecx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
lea esp, [ebp - 0x3018]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret