joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481900
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push ebx
push ebp
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x481933
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x5d1758
mov ecx, esi
call edx
test eax, eax
je 0x481933
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x481951
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov dword [esp + 0x14], eax
jmp 0x481959
mov dword [esp + 0x14], 0
push edi
push 0x2800
call fcn.00584d00
push 0x5000
mov edi, eax
call fcn.00584d00
push ebx
push ebp
push 0x5d1758
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00584b3c
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
cmp eax, 0x2800
jae 0x4819bb
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push esi
call fcn.005849dc
mov esi, dword [esp + 0x1c]
add esp, 4
test esi, esi
je 0x481a16
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 1
push 0
mov ecx, esi
call edx
test al, al
je 0x481a16
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
mov ecx, esi
call edx
push edi
call fcn.005849dc
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push 0x2800
call fcn.00584d00
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00584900
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005849dc
add esp, 4
push edi
call fcn.005849dc
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x4885e0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5c7408
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x488650
push edi
call fcn.0053e6f8
mov ecx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x488671
push esi
call fcn.0053e703
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00584447
add esp, 0x34
ret
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x488647
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
rol edx, 0x10
push edx
lea eax, [esp + 0x28]
push str._08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x30]
push ecx
push str.StringFileInfo_sFileVersion
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00488130
add esp, 0x1c
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.00404490
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4886f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x2e
push 0x2c
mov ecx, ebp
call fcn.00488090
push esi
call fcn.0053e703
add esp, 4
mov eax, 1
jmp 0x488652
Function at 0x488c20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c7510
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x488c60
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x14]
push str._preview_wmplayer__d
push edx
mov dword [esp + 0x60], 0
call fcn.004096d0
lea eax, [esp + 0x3c]
push eax
call fcn.004889c0
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.00488af0
mov ebx, 8
add esp, 0x14
cmp dword [esi + 0x18], ebx
jb 0x488cb9
mov esi, dword [esi + 4]
jmp 0x488cbc
add esi, 4
cmp dword [eax + 0x18], ebx
jb 0x488cc6
mov eax, dword [eax + 4]
jmp 0x488cc9
add eax, 4
mov edi, dword [esp + 0x10]
push 1
push esi
push edi
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp dword [esp + 0x2c], ebx
jb 0x488cf1
mov edx, dword [esp + 0x18]
push edx
call fcn.0053e6ed
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
cmp dword [esp + 0x48], ebx
jb 0x488d1b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0053e6ed
add esp, 4
xor edx, edx
mov eax, 0x20
cmp eax, esi
sbb esi, esi
lea eax, [edi - 0x10]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
neg esi
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488d61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x48b6f0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 4
mov edi, ecx
push edi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x48b738
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
push edi
call ebx
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [edi]
pop edi
pop esi
ret 4

Function at 0x48f2c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c7bb3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x639340
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TinyXml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x639340
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5d3001
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0048d840
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x493ce0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push eax
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x493d15
mov edi, dword [esi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCalendar::GetClassNameW_void_]
mov edx, dword [edi + 4]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x493d15
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
push ebp
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x493d32
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov ebp, eax
jmp 0x493d34
xor ebp, ebp
push 0x2800
call fcn.00584d00
push 0x5000
mov edi, eax
call fcn.00584d00
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCalendar::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00584b3c
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
cmp eax, 0x2800
jae 0x493d9e
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push esi
call fcn.005849dc
add esp, 4
test ebp, ebp
je 0x493df7
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push 1
push 0
mov ecx, ebp
call eax
test al, al
je 0x493df7
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
mov ecx, ebp
call edx
push edi
call fcn.005849dc
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
push 0x2800
call fcn.00584d00
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00584900
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005849dc
add esp, 4
push edi
call fcn.005849dc
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x496980
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x639390
call fcn.00586030
mov eax, dword [esp + 0x10]
add esp, 0xc
push 0x8000
push 0x639390
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4969ba
cmp eax, 0x8000
ja 0x4969ba
mov eax, 0x639390
ret
xor eax, eax
ret
Function at 0x49a4d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esi + 0x640]
dec eax
cmp dword [esi + 0x644], eax
push ebx
push 1
lea ebx, [esp + 0xa]
mov eax, esi
jne 0x49a4f8
mov byte [esp + 0xa], 0x86
call fcn.0049a410
add esp, 4
jmp 0x49a522
mov byte [esp + 0xa], 6
mov byte [esp + 0xb], 0x80
call fcn.0049a410
mov ecx, dword [esi + 0x640]
dec ecx
push 1
lea ebx, [esp + 0xf]
mov dword [esi + 0x644], ecx
call fcn.0049a410
add esp, 8
xor eax, eax
pop ebx
cmp dword [esi + 0x640], eax
jbe 0x49a551
push edi
mov edi, edi
mov edx, dword [esi + 0x648]
mov edi, dword [esi + 0x640]
xor edx, eax
mov dl, byte [edx + esi]
lea ecx, [eax + esi]
inc eax
mov byte [ecx + edi], dl
cmp eax, dword [esi + 0x640]
jb 0x49a530
pop edi
mov eax, dword [esi + 0x640]
add eax, esi
pop ecx
ret

Function at 0x49abd0
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x5e54bc
push eax
call fcn.0058cc3e
mov esi, eax
add esp, 8
test esi, esi
je 0x49ac55
push ebx
push edi
push 2
push 0
push esi
call fcn.0058746c
push esi
call fcn.0058ad89
push esi
mov ebx, eax
call fcn.0058cab4
push ebx
call fcn.004bbcc0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x49ac41
push esi
push 1
push ebx
push edi
call fcn.0058abcf
add esp, 0x10
cmp eax, 1
jne 0x49ac41
mov ecx, dword [esp + 0x10]
push fcn.004acb60
push ebx
push edi
push ecx
call fcn.004d5a90
add esp, 0x10
push esi
call fcn.005875ad
add esp, 4
pop edi
pop ebx
pop esi
ret
push edi
call fcn.004acb60
add esp, 4
push esi
call fcn.005875ad
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x49aef0
Capabilities:
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
mov eax, esi
and eax, 0xf000
push edi
cmp eax, 0x4000
jne 0x49af95
mov ebx, dword [esp + 0x68]
push ebx
call fcn.0058d159
add esp, 4
test eax, eax
je 0x49b051
call fcn.0058d23c
cmp dword [eax], 0x11
jne 0x49af88
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.0058cd85
add esp, 8
test eax, eax
jne 0x49af88
push ebx
lea edi, [esp + 0x34]
call fcn.0049ad20
mov eax, dword [esp + 0x3a]
mov edx, eax
and edx, 0xf000
add esp, 4
cmp edx, 0x4000
jne 0x49af88
xor eax, esi
test eax, 0x1ff
je 0x49b051
and esi, 0x1ff
push esi
push ebx
call fcn.0058d18b
add esp, 8
test eax, eax
je 0x49b051
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x68]
xor edi, edi
push 0x5e54c0
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
call fcn.0058cc3e
mov esi, eax
add esp, 8
cmp esi, edi
je 0x49af88
push ebp
call fcn.004d59b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x49affd
push esi
push ebp
call fcn.004cfca0
add esp, 4
push eax
push 1
push ebx
call fcn.005872f2
push ebp
mov ebx, eax
call fcn.004cfca0
cdq
mov edi, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
cmp edi, ebx
jne 0x49aff5
xor eax, eax
cmp edx, eax
je 0x49affd
mov dword [esp + 0x10], 1
push esi
call fcn.005875ad
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x49b02d
mov eax, dword [esp + 0x70]
test ax, ax
je 0x49b03a
mov ecx, dword [esp + 0x68]
and eax, 0x1ff
push eax
push ecx
call fcn.0058d18b
add esp, 8
test eax, eax
je 0x49b03a
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
push edx
push edi
push eax
call fcn.004b4a40
mov ebx, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x78], 0
jl 0x49b116
mov esi, dword [esp + 0x74]
jg 0x49b06a
test esi, esi
jb 0x49b116
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, esi
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.00588dd0
mov ecx, edx
push ebx
mov dword [esp + 0x1c], eax
sar ecx, 0x1f
mov dword [esp + 0x20], edx
call fcn.0052b170
mov esi, eax
add esp, 4
test esi, esi
je 0x49af88
push 0
push 0x2000000
push 3
push 0
push 0
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
call fcn.004acb60
add esp, 4
cmp edi, 0xffffffff
je 0x49af88
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x50
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
Function at 0x49e170
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x10
mov eax, dword [ebx + 0xc]
push ebp
push esi
push edi
push ebx
push 0x632818
push str.expert
push eax
call fcn.004f1be0
mov edi, dword [ebx + 4]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push str.SELECT_type__name__sql__1_FROM_sqlite_master_WHERE_type_IN__table_view__AND_name_NOT_LIKE_sqlite_____UNION_ALL_SELECT_type__name__sql__2_FROM_sqlite_master_WHERE_type__trigger__AND_tbl_name_IN_SELECT_name_FROM_sqlite_master_WHERE_type__view__ORDER_BY_4__1
push edi
mov dword [esp + 0x30], ebp
call fcn.00521340
mov esi, eax
add esp, 0x24
cmp esi, ebp
je 0x49e1cf
push edi
mov dword [esp + 0x10], ebp
call fcn.004f7f30
push eax
push 0x5e35b8
call fcn.004d32a0
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [edi], eax
jmp 0x49e1d3
mov edi, dword [esp + 0x20]
cmp esi, ebp
jne 0x49e335
jmp 0x49e1e0
mov edx, dword [esp + 0xc]
push edx
call fcn.00527980
add esp, 4
cmp eax, 0x64
jne 0x49e335
mov eax, dword [esp + 0xc]
push 0
push eax
call fcn.004d0010
mov ecx, dword [esp + 0x14]
push 1
push ecx
mov esi, eax
call fcn.004d0010
mov edx, dword [esp + 0x1c]
mov ebp, eax
push 2
push edx
mov dword [esp + 0x30], ebp
call fcn.004d0010
add esp, 0x18
cmp byte [esi], 0x76
je 0x49e319
cmp byte [esi + 1], 0x72
je 0x49e319
mov ecx, dword [ebx + 4]
push edi
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call fcn.0049d140
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
jne 0x49e335
mov edx, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
push str.CREATE_TABLE_x_
push eax
lea eax, [esp + 0x18]
mov dword [edi + 0xc], edx
push eax
mov dword [ebx + 0x10], edi
call fcn.0049d3f0
add esp, 0xc
cmp dword [edi], esi
jle 0x49e2bc
lea ecx, [ecx]
mov edx, 0x5d3001
test esi, esi
je 0x49e28e
mov edx, 0x5e57dc
mov ebp, dword [edi + 8]
lea ecx, [esi + esi*2]
lea ecx, [ebp + ecx*4]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx]
push ebp
push ecx
push edx
push str._s_Q_COLLATE__s
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0049d3f0
inc esi
add esp, 0x18
cmp esi, dword [edi]
jl 0x49e280
mov ebp, dword [esp + 0x18]
push 0x5e53a8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0049d3f0
mov edi, eax
push edi
push ebp
push str.CREATE_VIRTUAL_TABLE__Q_USING_expert__Q_
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.0049d3f0
mov esi, dword [esp + 0x30]
add esp, 0x20
mov ebp, eax
test esi, esi
jne 0x49e304
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
push edx
push esi
push esi
push ebp
push eax
call fcn.00527d00
add esp, 0x14
mov esi, eax
push edi
call fcn.004acb60
push ebp
call fcn.004acb60
mov edi, dword [esp + 0x28]
add esp, 8
jmp 0x49e32d
mov ecx, dword [ebx + 0xc]
push edi
push 0
push 0
push eax
push ecx
call fcn.00527d00
add esp, 0x14
mov esi, eax
test esi, esi
je 0x49e1e0
mov edx, dword [esp + 0xc]
push edx
call fcn.005127b0
add esp, 4
test esi, esi
je 0x49e348
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x49e540
Capabilities:
Reference sql statements

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push str.SELECT_max_i.seqno__FROM___sqlite_master_AS_s____pragma_index_list_s.name__AS_l____pragma_index_info_l.name__AS_i_WHERE_s.type__table
push edi
mov dword [esp + 0x18], 0
mov dword [ebx], 0
call fcn.00521340
mov esi, eax
add esp, 0x14
test esi, esi
je 0x49e593
push edi
mov dword [esp + 8], 0
call fcn.004f7f30
push eax
push 0x5e35b8
call fcn.004d32a0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [ecx], eax
test esi, esi
jne 0x49e5b7
mov edx, dword [esp + 4]
push edx
call fcn.00527980
add esp, 4
cmp eax, 0x64
jne 0x49e5b7
mov eax, dword [esp + 4]
push 0
push eax
call fcn.004c5d20
add esp, 8
inc eax
mov dword [ebx], eax
mov ecx, dword [esp + 4]
push ecx
call fcn.005127b0
add esp, 4
test esi, esi
je 0x49e5ca
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4a1160
Capabilities:
Reference sql statements

Disassembly:
push ecx
mov ecx, dword [esi]
lea eax, [esp]
push eax
push 0
push 0
push str.SAVEPOINT_selftest_init__nCREATE_TABLE_IF_NOT_EXISTS_selftest__n__tno_INTEGER_PRIMARY_KEY__n__op_TEXT__n__cmd_TEXT__n__ans_TEXT_n__CREATE_TEMP_TABLE___shell_self__op_cmd_ans___nINSERT_INTO___shell_self__rowid_op_cmd__n__VALUES_coalesce__SELECT__max_tno_100__10_FROM_selftest__10___n_________memo_Tests_generated_by___init___nINSERT_INTO___shell_self__n__SELECT_run__n____SELECT_hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____n____hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____nINSERT_INTO___shell_self__n__SELECT_run_____SELECT_hex_sha3_query_SELECT__FROM___________printf__w_name_____NOT_INDEXED_224____n____hex_sha3_query_printf_SELECT__FROM___w__NOT_INDEXED_name__224___n__FROM___n____SELECT_name_FROM_sqlite_master_n_____WHERE_typetable_n_______AND_name__selftest_n_______AND_coalesce_rootpage_0__0_n____n_ORDER_BY_name__nINSERT_INTO___shell_self__n__VALUES_run_PRAGMA_integrity_check_ok___nINSERT_INTO_selftest_tno_op_cmd_ans___SELECT_rowid10_op_cmd_ans_FROM___shell_self___nDROP_TABLE___shell_self__
push ecx
mov dword [esp + 0x14], 0
call fcn.00527d00
mov eax, dword [esp + 0x14]
add esp, 0x14
test eax, eax
je 0x4a11aa
push eax
push str.SELFTEST_initialization_failure:__s_n
call fcn.0058bb1f
add eax, 0x40
push eax
call fcn.00495e80
mov edx, dword [esp + 0xc]
push edx
call fcn.004acb60
add esp, 0x10
mov eax, dword [esi]
push 0
push 0
push 0
push str.RELEASE_selftest_init
push eax
call fcn.00527d00
add esp, 0x18
ret
Function at 0x4a2e30
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x5e54bc
push eax
call fcn.0058cc3e
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a2e47
pop esi
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.0058746c
push esi
call fcn.0058ad89
push esi
mov edi, eax
call fcn.0058cab4
lea eax, [edi + 1]
cdq
push edx
push eax
call fcn.004bbce0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4a2e9a
push ebp
push esi
push 1
push edi
push ebx
call fcn.0058abcf
push esi
mov ebp, eax
call fcn.005875ad
add esp, 0x14
cmp ebp, 1
pop ebp
je 0x4a2ea0
push ebx
call fcn.004acb60
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
mov byte [ebx + edi], 0
test eax, eax
je 0x4a2eae
mov dword [eax], edi
pop edi
mov eax, ebx
pop ebx
pop esi
ret

Function at 0x4a2ec0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x78]
push 0x5e54bc
push edi
call fcn.0058cc3e
mov esi, eax
add esp, 8
xor ebx, ebx
test esi, esi
jne 0x4a2f30
cmp dword [esp + 0x7c], ebx
je 0x4a2f19
push ebx
push edi
push str._.zip
call fcn.004b8060
add esp, 0xc
test eax, eax
jne 0x4a2f19
pop edi
lea eax, [esi + 3]
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00584447
add esp, 0x68
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00584447
add esp, 0x68
ret
push ebp
push 2
push 0xffffffffffffffe7
push esi
call fcn.0058746c
push esi
push 1
lea eax, [esp + 0x24]
push 0x19
push eax
call fcn.0058abcf
add esp, 0x1c
cmp eax, 1
jne 0x4a2f81
mov eax, 0x11
mov ecx, str.Start_Of_SQLite3_
lea edx, [esp + 0x10]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4a2f81
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a2f60
mov cl, byte [ecx]
cmp cl, byte [edx]
jne 0x4a2f81
mov ebx, 2
jmp 0x4a2fe3
push 2
push 0xffffffffffffffea
push esi
call fcn.0058746c
push esi
push 1
lea edx, [esp + 0x24]
push 0x16
push edx
call fcn.0058abcf
add esp, 0x1c
cmp eax, 1
jne 0x4a2fbe
cmp byte [esp + 0x10], 0x50
jne 0x4a2fe3
cmp byte [esp + 0x11], 0x4b
jne 0x4a2fe3
cmp byte [esp + 0x12], 5
jne 0x4a2fe3
cmp byte [esp + 0x13], 6
jmp 0x4a2fdc
test eax, eax
jne 0x4a2fe3
cmp dword [esp + 0x80], ebx
je 0x4a2fe3
push eax
push edi
push str._.zip
call fcn.004b8060
add esp, 0xc
test eax, eax
jne 0x4a2fe3
mov ebx, 3
push esi
call fcn.005875ad
mov ecx, dword [esp + 0x78]
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00584447
add esp, 0x68
ret