joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4250f0
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 edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.00549e40
push 0x27ff
lea ecx, [ebp - 0x3003]
push ebx
push ecx
mov byte [ebp - 0x3004], bl
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x403]
push ebx
push edx
mov byte [ebp - 0x404], bl
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [esi + 0xd40]
push ecx
sub eax, 0x10
mov dword [ebp - 0x300c], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0xdbc]
push ecx
sub eax, 0x10
mov dword [ebp - 0x300c], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0xdc0]
push ecx
sub eax, 0x10
mov dword [ebp - 0x300c], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
lea ecx, [ebp - 0x804]
push str.Update_LoadTable_Set_LoadCap_s_TotalCap_s_Where_FilmID_s
push ecx
call fcn.00546876
add esp, 0x14
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x425241
add eax, eax
mov dword [ebp - 0x3008], eax
call fcn.0054bbf0
mov edi, esp
cmp edi, ebx
je 0x425241
mov edx, dword [ebp - 0x3008]
push ebx
push ebx
push edx
push edi
push 0xffffffffffffffff
push str.1905Cache2
push ebx
push 3
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x425243
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], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x4252c5
mov eax, dword [ebp - 0x3008]
lea ecx, [ebp - 0x300c]
push ecx
push esi
push ebx
lea edx, [ebp - 0x804]
push edx
push eax
mov dword [ebp - 0x300c], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x4252b5
mov ecx, dword [ebp - 0x3008]
push ecx
jmp 0x4252bc
mov edx, dword [ebp - 0x3008]
push edx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
lea esp, [ebp - 0x3014]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
Function at 0x425810
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
mov esi, dword [ebx + 0xd40]
add esp, 0xc
test esi, esi
jne 0x42585d
xor eax, eax
jmp 0x4258a2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42589a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x42589a
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 0x42589c
xor eax, eax
mov ebx, dword [ebp - 0x3008]
push eax
lea ecx, [ebp - 0x804]
push str.select__from_LoadTable_where_FilmID_s
push ecx
call fcn.00546876
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]
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x425943
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x425943
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 0x425945
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 0x4259cd
mov edx, dword [ebp - 0x3008]
lea eax, [ebp - 0x300c]
push eax
push ebx
push 0x423590
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 0x4259bd
mov eax, dword [ebp - 0x3008]
push eax
jmp 0x4259c4
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 0x4259f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575a5b
mov eax, dword fs:[0]
push eax
mov eax, 0x3030
call fcn.0054a430
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 ebx, ecx
mov eax, dword [ebx + 0xdc8]
lea edi, [ebx + 0xdc8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425b6a
push 0x27ff
push eax
mov byte [ebp - 0x3010], al
lea eax, [ebp - 0x300f]
push eax
call fcn.00549e40
push 0x3ff
lea ecx, [ebp - 0x40f]
push 0
push ecx
mov byte [ebp - 0x410], 0
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x80f]
push 0
push edx
mov byte [ebp - 0x810], 0
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.1905Cache2
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x425aba
xor eax, eax
jmp 0x425ad4
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push str.1905Cache2
push eax
call fcn.0040c9b0
push str.LocalData.db
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x3010]
push str._s_s_s
push edx
call fcn.00546876
mov esi, dword [ebx + 0xd40]
add esp, 0x14
test esi, esi
je 0x425b0a
push esi
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x425b0e
xor eax, eax
jmp 0x425b24
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040c9b0
push eax
lea eax, [ebp - 0x810]
push str.delete_from_LoadTable_where_LoadFlag1_and_FilmID_s
push eax
call fcn.00546876
push ebx
push 0
lea esi, [ebp - 0x810]
lea ecx, [ebp - 0x3010]
call fcn.00409aa0
mov ecx, dword [0x5e9818]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [edx + 0x18]
add ecx, 0x4a0
add esp, 0x14
push ebx
call eax
jmp 0x425bfd
lea esi, [ebp - 0x303c]
call fcn.00412890
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0xd48]
cmp dword [ecx - 0xc], 0
lea eax, [ebx + 0xd48]
mov ecx, esi
jne 0x425b99
lea edx, [ebx + 0xd40]
push edx
jmp 0x425b9a
push eax
call fcn.0040d610
add ebx, 0xd60
push ebx
lea ecx, [ebp - 0x3038]
call fcn.0040d610
push 3
push 0x5a6d74
lea ecx, [ebp - 0x3034]
call fcn.0040d560
push edi
lea ecx, [ebp - 0x3028]
call fcn.0040d610
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x3014], esp
push eax
lea ecx, [ebp - 0x303c]
call fcn.00413a00
push 0
mov ecx, 0x5e6c4c
call fcn.00414720
lea eax, [ebp - 0x303c]
call fcn.004129f0
lea esp, [ebp - 0x304c]
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
Function at 0x42aee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x20]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
je 0x42af0e
push 0xffffffffffffffff
push eax
mov dword [esi + 0x24], 2
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x42af20
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 4], ebx
push 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
cmp edi, ebx
je 0x42af4f
mov ecx, dword [ebp + 8]
lea eax, [edi + 4]
push eax
push ecx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [edi + 8], eax
jmp 0x42af51
xor edi, edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 4], edi
mov dword [esi + 0x1c], eax
cmp edi, ebx
je 0x42af98
mov eax, dword [edi + 8]
mov dword [edi + 8], ebx
cmp eax, ebx
jne 0x42af98
cmp dword [esi + 0xc], ebx
je 0x42af98
push ebx
push ebx
push esi
push 0x42abd0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x42b350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740bb
mov eax, dword fs:[0]
push eax
mov eax, 0x3014
call fcn.0054a430
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
xor ebx, ebx
mov esi, ecx
push ebx
lea ecx, [esi + 4]
push 0x5a55b8
mov dword [esi], ebx
mov dword [esi + 0x18], ebx
call fcn.0040d560
push ebx
lea ecx, [esi + 8]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0xc]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x10]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x14]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x1c]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x20]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x24]
push 0x5a55b8
call fcn.0040d560
push ebx
lea ecx, [esi + 0x28]
push 0x5a55b8
call fcn.0040d560
mov ecx, 0xa
mov esi, str.delete_from_MapTable_where_KeyautoLogin
lea edi, [ebp - 0x810]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3d5
lea eax, [ebp - 0x7e5]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00549e40
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, 0x24
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 0x42b4b6
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
cmp esi, ebx
je 0x42b4b6
push ebx
push ebx
push edi
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 0x42b4b8
xor eax, eax
push str.LocalData.db
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x3010]
push str._s_s_s
push edx
call fcn.00546876
lea eax, [ebp - 0x3014]
push eax
lea ecx, [ebp - 0x3010]
push ecx
mov dword [ebp - 0x3014], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x42b53a
mov ecx, dword [ebp - 0x3014]
lea edx, [ebp - 0x3018]
push edx
push ebx
push ebx
lea eax, [ebp - 0x810]
push eax
push ecx
mov dword [ebp - 0x3018], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x42b52a
mov edx, dword [ebp - 0x3014]
push edx
jmp 0x42b531
mov eax, dword [ebp - 0x3014]
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x3020], esp
push 0x5aaa3c
call fcn.0040cf20
push ecx
mov ecx, esp
mov dword [ebp - 0x301c], esp
push str.LoginSkin_nologin.png
mov dword [ebp - 4], ebx
call fcn.0040cf20
mov ecx, 0x5e5968
mov dword [ebp - 4], 0xffffffff
call fcn.00433e50
lea esp, [ebp - 0x3030]
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
Function at 0x42c6d0
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 esi
push edi
mov edi, ecx
lea esi, [ebx + 0xdc]
mov eax, edi
call fcn.0042ed20
push 0x3ff
lea eax, [ebp - 0x803]
push 0
push eax
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 edi, dword [edi + 8]
test edi, edi
je 0x42c7a9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42c7a9
add eax, eax
mov dword [ebp - 0x3008], eax
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x42c7a9
mov ecx, dword [ebp - 0x3008]
push 0
push 0
push ecx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x42c7ab
xor eax, eax
push eax
lea edx, [ebp - 0x804]
push str.select_count___from_LookedTableNew_where_FilmID_s
push edx
call fcn.00546876
add esp, 0xc
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42c805
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x42c805
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 0x42c807
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]
xor esi, esi
push eax
mov dword [ebp - 0x3008], esi
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x42c88f
mov eax, dword [ebp - 0x3008]
lea ecx, [ebp - 0x300c]
push ecx
push ebx
push 0x42bfd0
lea edx, [ebp - 0x804]
push edx
push eax
mov dword [ebp - 0x300c], esi
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x42c87f
mov ecx, dword [ebp - 0x3008]
push ecx
jmp 0x42c886
mov edx, dword [ebp - 0x3008]
push edx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
mov eax, dword [ebx + 0x34]
cmp eax, esi
jne 0x42c8a4
push 1
push esi
push 1
mov esi, ebx
call fcn.0042cae0
jmp 0x42c8b1
cmp eax, 1
jne 0x42c8b1
push eax
mov ecx, ebx
call fcn.0042d180
mov dword [ebx + 0x34], 0xffffffff
lea esp, [ebp - 0x3014]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
Function at 0x42c8d0
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
push esi
push edi
mov edi, ecx
lea esi, [ebx + 0x38]
call fcn.004158c0
push 0x3ff
lea eax, [ebp - 0x807]
push 0
push eax
mov byte [ebp - 0x808], 0
call fcn.00549e40
add esp, 0xc
push 0x27ff
lea ecx, [ebp - 0x3007]
push 0
push ecx
mov byte [ebp - 0x3008], 0
call fcn.00549e40
add esp, 0xc
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, dword [edi + 4]
test edi, edi
je 0x42c9aa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42c9aa
add eax, eax
mov dword [ebp - 0x300c], eax
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x42c9aa
mov ecx, dword [ebp - 0x300c]
push 0
push 0
push ecx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x42c9ac
xor eax, eax
push eax
lea edx, [ebp - 0x808]
push str.select_count___from_LookedTableNew_where_FilmID_s
push edx
call fcn.00546876
add esp, 0xc
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42ca06
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x42ca06
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 0x42ca08
xor eax, eax
push str.LocalData.db
push eax
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x3008]
push str._s_s_s
push ecx
call fcn.00546876
add esp, 0x14
lea edx, [ebp - 0x300c]
push edx
lea eax, [ebp - 0x3008]
xor esi, esi
push eax
mov dword [ebp - 0x300c], esi
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 8
test eax, eax
jne 0x42ca93
mov eax, dword [ebp - 0x300c]
lea ecx, [ebp - 0x3010]
push ecx
push ebx
push 0x42bfd0
lea edx, [ebp - 0x808]
push edx
push eax
mov dword [ebp - 0x3010], esi
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x42ca83
mov ecx, dword [ebp - 0x300c]
push ecx
jmp 0x42ca8a
mov edx, dword [ebp - 0x300c]
push edx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
mov eax, dword [ebx + 0x34]
cmp eax, esi
jne 0x42caa7
push esi
push esi
push 1
mov esi, ebx
call fcn.0042cae0
jmp 0x42cab4
cmp eax, 1
jne 0x42cab4
push esi
mov ecx, ebx
call fcn.0042d180
mov dword [ebx + 0x34], 0xffffffff
lea esp, [ebp - 0x3018]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
Function at 0x42d600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3004
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
cmp dword [ebp + 8], ebx
je 0x42d71f
cmp dword [esi + 0x14], ebx
je 0x42d656
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x4a0]
mov edi, dword [eax + 0x4a0]
lea ecx, [eax + 0x4a0]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x1c]
dec eax
push eax
add ecx, 0x4a0
call edx
push 0x27ff
lea eax, [ebp - 0x3003]
push ebx
push eax
mov byte [ebp - 0x3004], bl
call fcn.00549e40
push 0x3ff
lea ecx, [ebp - 0x803]
push ebx
push ecx
mov byte [ebp - 0x804], bl
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x403]
push ebx
push edx
mov byte [ebp - 0x404], bl
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x804]
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
jle 0x42d6ca
xor eax, eax
jmp 0x42d6e4
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push str.1905Cache2
push eax
call fcn.0040c9b0
push str.LocalData.db
push eax
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x3004]
push str._s_s_s
push edx
call fcn.00546876
lea eax, [ebp - 0x404]
push str.Delete_from_LookedTableNew_where__id_in__select__id_from_LookedTableNew_where_date_AddTime_date_now__order_by_AddTime_limit_0_1_
push eax
call fcn.00546876
push esi
lea esi, [ebp - 0x404]
jmp 0x42d812
cmp dword [esi + 0x14], ebx
je 0x42d74e
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx + 0x4a0]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [edx + 0xc]
add ecx, 0x4a0
call eax
mov ecx, dword [esi + 0x18]
mov edx, dword [edi + 0x1c]
dec eax
push eax
add ecx, 0x4a0
call edx
push 0x27ff
lea eax, [ebp - 0x3003]
push ebx
push eax
mov byte [ebp - 0x3004], bl
call fcn.00549e40
push 0x3ff
lea ecx, [ebp - 0x403]
push ebx
push ecx
mov byte [ebp - 0x404], bl
call fcn.00549e40
push 0x3ff
lea edx, [ebp - 0x803]
push ebx
push edx
mov byte [ebp - 0x804], bl
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea eax, [ebp - 0x404]
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
jle 0x42d7c2
xor eax, eax
jmp 0x42d7dc
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push str.1905Cache2
push eax
call fcn.0040c9b0
push str.LocalData.db
push eax
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x3004]
push str._s_s_s
push edx
call fcn.00546876
lea eax, [ebp - 0x804]
push str.delete_from_LookedTableNew_where__id_in__select_top_1__id_from_LookedTableNew__and_date_addTime__date_now_
push eax
call fcn.00546876
push esi
lea esi, [ebp - 0x804]
push ebx
lea ecx, [ebp - 0x3004]
call fcn.00409aa0
add esp, 0x24
lea esp, [ebp - 0x3010]
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 0x42e400
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
xor ebx, ebx
push 0x3ff
lea ecx, [ebp - 0x803]
push ebx
push ecx
mov dword [ebp - 0x300c], eax
mov byte [ebp - 0x804], bl
call fcn.00549e40
push 0x27ff
lea edx, [ebp - 0x3003]
push ebx
push edx
mov byte [ebp - 0x3004], bl
call fcn.00549e40
push 0x3ff
lea eax, [ebp - 0x403]
push ebx
push eax
mov byte [ebp - 0x404], bl
call fcn.00549e40
add esp, 0x24
push 1
push 0x23
lea ecx, [ebp - 0x404]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [ebp - 0x804]
push str.select__from_LookedTableNew_where_date_addTime_date_now_
push edx
call fcn.00546876
add esp, 8
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42e4d7
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
cmp esi, ebx
je 0x42e4d7
push ebx
push ebx
push edi
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 0x42e4d9
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], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 0x1c
test eax, eax
jne 0x42e565
mov edx, dword [ebp - 0x300c]
lea ecx, [ebp - 0x3010]
push ecx
mov ecx, dword [ebp - 0x3008]
push edx
push 0x42b670
lea eax, [ebp - 0x804]
push eax
push ecx
mov dword [ebp - 0x3010], ebx
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x42e555
mov edx, dword [ebp - 0x3008]
push edx
jmp 0x42e55c
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