joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481730
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 0x481763
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x5d1758
mov ecx, esi
call edx
test eax, eax
je 0x481763
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 0x481781
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 0x481789
mov dword [esp + 0x14], 0
push edi
push 0x2800
call fcn.00584b20
push 0x5000
mov edi, eax
call fcn.00584b20
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.0058495c
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 0x4817eb
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push esi
call fcn.005847fc
mov esi, dword [esp + 0x1c]
add esp, 4
test esi, esi
je 0x481846
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 1
push 0
mov ecx, esi
call edx
test al, al
je 0x481846
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.005847fc
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push 0x2800
call fcn.00584b20
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.00584720
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005847fc
add esp, 4
push edi
call fcn.005847fc
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x488420
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5c71e8
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 0x488490
push edi
call fcn.0053e518
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 0x4884b1
push esi
call fcn.0053e523
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.00584267
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 0x488487
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.00487f70
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 0x488534
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.00487ed0
push esi
call fcn.0053e523
add esp, 4
mov eax, 1
jmp 0x488492
Function at 0x488a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c72f0
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.0053fed4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x488aa0
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.00488800
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.00488930
mov ebx, 8
add esp, 0x14
cmp dword [esi + 0x18], ebx
jb 0x488af9
mov esi, dword [esi + 4]
jmp 0x488afc
add esi, 4
cmp dword [eax + 0x18], ebx
jb 0x488b06
mov eax, dword [eax + 4]
jmp 0x488b09
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 0x488b31
mov edx, dword [esp + 0x18]
push edx
call fcn.0053e50d
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 0x488b5b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0053e50d
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 0x488ba1
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 0x48b530
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 0x48b578
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 0x48f0f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c7993
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.0048d670
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 0x493b10
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 0x493b45
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 0x493b45
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 0x493b62
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 0x493b64
xor ebp, ebp
push 0x2800
call fcn.00584b20
push 0x5000
mov edi, eax
call fcn.00584b20
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.0058495c
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 0x493bce
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push esi
call fcn.005847fc
add esp, 4
test ebp, ebp
je 0x493c27
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push 1
push 0
mov ecx, ebp
call eax
test al, al
je 0x493c27
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.005847fc
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
push 0x2800
call fcn.00584b20
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.00584720
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005847fc
add esp, 4
push edi
call fcn.005847fc
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x4967b0
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x639390
call fcn.00585e50
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 0x4967ea
cmp eax, 0x8000
ja 0x4967ea
mov eax, 0x639390
ret
xor eax, eax
ret
Function at 0x49a300
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 0x49a328
mov byte [esp + 0xa], 0x86
call fcn.0049a240
add esp, 4
jmp 0x49a352
mov byte [esp + 0xa], 6
mov byte [esp + 0xb], 0x80
call fcn.0049a240
mov ecx, dword [esi + 0x640]
dec ecx
push 1
lea ebx, [esp + 0xf]
mov dword [esi + 0x644], ecx
call fcn.0049a240
add esp, 8
xor eax, eax
pop ebx
cmp dword [esi + 0x640], eax
jbe 0x49a381
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 0x49a360
pop edi
mov eax, dword [esi + 0x640]
add eax, esi
pop ecx
ret

Function at 0x49aa00
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x5e557c
push eax
call fcn.0058ca5e
mov esi, eax
add esp, 8
test esi, esi
je 0x49aa85
push ebx
push edi
push 2
push 0
push esi
call fcn.0058728c
push esi
call fcn.0058aba9
push esi
mov ebx, eax
call fcn.0058c8d4
push ebx
call fcn.004bbb10
mov edi, eax
add esp, 0x18
test edi, edi
je 0x49aa71
push esi
push 1
push ebx
push edi
call fcn.0058a9ef
add esp, 0x10
cmp eax, 1
jne 0x49aa71
mov ecx, dword [esp + 0x10]
push fcn.004ac9a0
push ebx
push edi
push ecx
call fcn.004d58d0
add esp, 0x10
push esi
call fcn.005873cd
add esp, 4
pop edi
pop ebx
pop esi
ret
push edi
call fcn.004ac9a0
add esp, 4
push esi
call fcn.005873cd
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x49ad20
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 0x49adc5
mov ebx, dword [esp + 0x68]
push ebx
call fcn.0058cf76
add esp, 4
test eax, eax
je 0x49ae81
call fcn.0058d059
cmp dword [eax], 0x11
jne 0x49adb8
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.0058cba2
add esp, 8
test eax, eax
jne 0x49adb8
push ebx
lea edi, [esp + 0x34]
call fcn.0049ab50
mov eax, dword [esp + 0x3a]
mov edx, eax
and edx, 0xf000
add esp, 4
cmp edx, 0x4000
jne 0x49adb8
xor eax, esi
test eax, 0x1ff
je 0x49ae81
and esi, 0x1ff
push esi
push ebx
call fcn.0058cfa8
add esp, 8
test eax, eax
je 0x49ae81
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x68]
xor edi, edi
push 0x5e5580
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
call fcn.0058ca5e
mov esi, eax
add esp, 8
cmp esi, edi
je 0x49adb8
push ebp
call fcn.004d57f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x49ae2d
push esi
push ebp
call fcn.004cfae0
add esp, 4
push eax
push 1
push ebx
call fcn.00587112
push ebp
mov ebx, eax
call fcn.004cfae0
cdq
mov edi, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
cmp edi, ebx
jne 0x49ae25
xor eax, eax
cmp edx, eax
je 0x49ae2d
mov dword [esp + 0x10], 1
push esi
call fcn.005873cd
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x49ae5d
mov eax, dword [esp + 0x70]
test ax, ax
je 0x49ae6a
mov ecx, dword [esp + 0x68]
and eax, 0x1ff
push eax
push ecx
call fcn.0058cfa8
add esp, 8
test eax, eax
je 0x49ae6a
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.004b4880
mov ebx, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x78], 0
jl 0x49af46
mov esi, dword [esp + 0x74]
jg 0x49ae9a
test esi, esi
jb 0x49af46
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.00588bf0
mov ecx, edx
push ebx
mov dword [esp + 0x1c], eax
sar ecx, 0x1f
mov dword [esp + 0x20], edx
call fcn.0052af90
mov esi, eax
add esp, 4
test esi, esi
je 0x49adb8
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.004ac9a0
add esp, 4
cmp edi, 0xffffffff
je 0x49adb8
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 0x49dfa0
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.004f1a20
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.00521170
mov esi, eax
add esp, 0x24
cmp esi, ebp
je 0x49dfff
push edi
mov dword [esp + 0x10], ebp
call fcn.004f7d70
push eax
push 0x5e3678
call fcn.004d30e0
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [edi], eax
jmp 0x49e003
mov edi, dword [esp + 0x20]
cmp esi, ebp
jne 0x49e165
jmp 0x49e010
mov edx, dword [esp + 0xc]
push edx
call fcn.005277b0
add esp, 4
cmp eax, 0x64
jne 0x49e165
mov eax, dword [esp + 0xc]
push 0
push eax
call fcn.004cfe50
mov ecx, dword [esp + 0x14]
push 1
push ecx
mov esi, eax
call fcn.004cfe50
mov edx, dword [esp + 0x1c]
mov ebp, eax
push 2
push edx
mov dword [esp + 0x30], ebp
call fcn.004cfe50
add esp, 0x18
cmp byte [esi], 0x76
je 0x49e149
cmp byte [esi + 1], 0x72
je 0x49e149
mov ecx, dword [ebx + 4]
push edi
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call fcn.0049cf70
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
jne 0x49e165
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.0049d220
add esp, 0xc
cmp dword [edi], esi
jle 0x49e0ec
lea ecx, [ecx]
mov edx, 0x5d3001
test esi, esi
je 0x49e0be
mov edx, 0x5e589c
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.0049d220
inc esi
add esp, 0x18
cmp esi, dword [edi]
jl 0x49e0b0
mov ebp, dword [esp + 0x18]
push 0x5e5468
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0049d220
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.0049d220
mov esi, dword [esp + 0x30]
add esp, 0x20
mov ebp, eax
test esi, esi
jne 0x49e134
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
push edx
push esi
push esi
push ebp
push eax
call fcn.00527b30
add esp, 0x14
mov esi, eax
push edi
call fcn.004ac9a0
push ebp
call fcn.004ac9a0
mov edi, dword [esp + 0x28]
add esp, 8
jmp 0x49e15d
mov ecx, dword [ebx + 0xc]
push edi
push 0
push 0
push eax
push ecx
call fcn.00527b30
add esp, 0x14
mov esi, eax
test esi, esi
je 0x49e010
mov edx, dword [esp + 0xc]
push edx
call fcn.005125e0
add esp, 4
test esi, esi
je 0x49e178
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x49e370
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.00521170
mov esi, eax
add esp, 0x14
test esi, esi
je 0x49e3c3
push edi
mov dword [esp + 8], 0
call fcn.004f7d70
push eax
push 0x5e3678
call fcn.004d30e0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [ecx], eax
test esi, esi
jne 0x49e3e7
mov edx, dword [esp + 4]
push edx
call fcn.005277b0
add esp, 4
cmp eax, 0x64
jne 0x49e3e7
mov eax, dword [esp + 4]
push 0
push eax
call fcn.004c5b70
add esp, 8
inc eax
mov dword [ebx], eax
mov ecx, dword [esp + 4]
push ecx
call fcn.005125e0
add esp, 4
test esi, esi
je 0x49e3fa
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4a0f90
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.00527b30
mov eax, dword [esp + 0x14]
add esp, 0x14
test eax, eax
je 0x4a0fda
push eax
push str.SELFTEST_initialization_failure:__s_n
call fcn.0058b93f
add eax, 0x40
push eax
call fcn.00495cb0
mov edx, dword [esp + 0xc]
push edx
call fcn.004ac9a0
add esp, 0x10
mov eax, dword [esi]
push 0
push 0
push 0
push str.RELEASE_selftest_init
push eax
call fcn.00527b30
add esp, 0x18
ret
Function at 0x4a2c60
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x5e557c
push eax
call fcn.0058ca5e
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a2c77
pop esi
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.0058728c
push esi
call fcn.0058aba9
push esi
mov edi, eax
call fcn.0058c8d4
lea eax, [edi + 1]
cdq
push edx
push eax
call fcn.004bbb30
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4a2cca
push ebp
push esi
push 1
push edi
push ebx
call fcn.0058a9ef
push esi
mov ebp, eax
call fcn.005873cd
add esp, 0x14
cmp ebp, 1
pop ebp
je 0x4a2cd0
push ebx
call fcn.004ac9a0
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 0x4a2cde
mov dword [eax], edi
pop edi
mov eax, ebx
pop ebx
pop esi
ret

Function at 0x4a2cf0
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 0x5e557c
push edi
call fcn.0058ca5e
mov esi, eax
add esp, 8
xor ebx, ebx
test esi, esi
jne 0x4a2d60
cmp dword [esp + 0x7c], ebx
je 0x4a2d49
push ebx
push edi
push str._.zip
call fcn.004b7ea0
add esp, 0xc
test eax, eax
jne 0x4a2d49
pop edi
lea eax, [esi + 3]
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00584267
add esp, 0x68
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00584267
add esp, 0x68
ret
push ebp
push 2
push 0xffffffffffffffe7
push esi
call fcn.0058728c
push esi
push 1
lea eax, [esp + 0x24]
push 0x19
push eax
call fcn.0058a9ef
add esp, 0x1c
cmp eax, 1
jne 0x4a2db1
mov eax, 0x11
mov ecx, str.Start_Of_SQLite3_
lea edx, [esp + 0x10]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4a2db1
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a2d90
mov cl, byte [ecx]
cmp cl, byte [edx]
jne 0x4a2db1
mov ebx, 2
jmp 0x4a2e13
push 2
push 0xffffffffffffffea
push esi
call fcn.0058728c
push esi
push 1
lea edx, [esp + 0x24]
push 0x16
push edx
call fcn.0058a9ef
add esp, 0x1c
cmp eax, 1
jne 0x4a2dee
cmp byte [esp + 0x10], 0x50
jne 0x4a2e13
cmp byte [esp + 0x11], 0x4b
jne 0x4a2e13
cmp byte [esp + 0x12], 5
jne 0x4a2e13
cmp byte [esp + 0x13], 6
jmp 0x4a2e0c
test eax, eax
jne 0x4a2e13
cmp dword [esp + 0x80], ebx
je 0x4a2e13
push eax
push edi
push str._.zip
call fcn.004b7ea0
add esp, 0xc
test eax, eax
jne 0x4a2e13
mov ebx, 3
push esi
call fcn.005873cd
mov ecx, dword [esp + 0x78]
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00584267
add esp, 0x68
ret