Function at 0x41d760
Capabilities:
Reference sql statements
Terminate process
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 0x10], edx
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [esp + 0x28]
push str.SELECT_name__sql_FROM_sqlite_schema_WHERE__s
call fcn.00428600
add esp, 8
test eax, eax
je 0x41d1bd
mov ebp, eax
lea ebx, [esp + 4]
push 0
push ebx
push 0xffffffffffffffff
push eax
push dword [esi]
call fcn.0042be00
add esp, 0x14
test eax, eax
mov dword [esp + 0xc], esi
je 0x41cf80
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
mov edi, dword [esp + 0xc]
push dword [edi]
call fcn.0043b7c0
add esp, 4
mov ebx, eax
push dword [edi]
call fcn.004362c0
add esp, 4
push ebp
push eax
push ebx
push str.Error:___d___s_on___s__n
push esi
call fcn.004014c0
add esp, 0x14
jmp 0x41d066
mov dword [esp + 8], ebp
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x41cf9d
push str.done
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
push dword [esp + 4]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x41d05d
push 0
push dword [esp + 8]
call fcn.00431d90
add esp, 8
mov ebp, eax
push 1
push dword [esp + 8]
call fcn.00431d90
add esp, 8
test ebp, ebp
je 0x41cf9d
mov esi, eax
test eax, eax
je 0x41cf9d
push ebp
push str._s...
call fcn.00408710
add esp, 8
push 1
call edi
add esp, 4
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 4
mov eax, esp
push eax
push 0
push 0
push esi
push dword [esp + 0x20]
call fcn.00435e30
add esp, 0x14
cmp dword [esp], 0
je 0x41d03e
push 2
call edi
add esp, 4
push esi
push dword [esp + 4]
push str.Error:__s_nSQL:___s__n
push eax
call fcn.004014c0
add esp, 0x10
push dword [esp]
call fcn.00424f10
add esp, 4
mov dword [esp], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41cf90
push ebp
push dword [esp + 0x14]
push dword [esp + 0x14]
call eax
add esp, 0xc
jmp 0x41cf90
cmp eax, 0x65
jne 0x41d080
mov ebp, dword [esp + 8]
push dword [esp + 4]
call fcn.0042d1d0
add esp, 4
push ebp
call fcn.00424f10
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 4]
call fcn.0042d1d0
add esp, 4
push dword [esp + 8]
call fcn.00424f10
add esp, 4
push dword [esp + 0x28]
push str.SELECT_name__sql_FROM_sqlite_schema_WHERE__s_ORDER_BY_rowid_DESC
call fcn.00428600
add esp, 8
test eax, eax
je 0x41d1bd
mov ebp, eax
push 0
push ebx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.0042be00
add esp, 0x14
test eax, eax
jne 0x41cf43
push dword [esp + 4]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x41d066
mov dword [esp + 8], ebp
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x41d112
push str.done
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
push dword [esp + 4]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x41d062
push 0
push dword [esp + 8]
call fcn.00431d90
add esp, 8
mov ebp, eax
push 1
push dword [esp + 8]
call fcn.00431d90
add esp, 8
test ebp, ebp
je 0x41d0fd
mov esi, eax
test eax, eax
je 0x41d0fd
push ebp
push str._s...
call fcn.00408710
add esp, 8
push 1
call edi
add esp, 4
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 4
mov eax, esp
push eax
push 0
push 0
push esi
push dword [esp + 0x20]
call fcn.00435e30
add esp, 0x14
cmp dword [esp], 0
je 0x41d19e
push 2
call edi
add esp, 4
push esi
push dword [esp + 4]
push str.Error:__s_nSQL:___s__n
push eax
call fcn.004014c0
add esp, 0x10
push dword [esp]
call fcn.00424f10
add esp, 4
mov dword [esp], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41d0f0
push ebp
push dword [esp + 0x14]
push dword [esp + 0x14]
call eax
add esp, 0xc
jmp 0x41d0f0
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[eax + eax]
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp], 0
mov dword [esp + 4], 0
mov esi, 0xffffffff
nop word cs:[eax + eax]
cmp byte [eax + esi + 1], 0
lea esi, [esi + 1]
jne 0x41d220
push eax
push str.SELECT__FROM___w_
call fcn.00428600
add esp, 8
test eax, eax
je 0x41d72e
mov ecx, esp
push 0
push ecx
push 0xffffffffffffffff
push eax
push dword [edi]
mov ebp, eax
call fcn.0042be00
add esp, 0x14
test eax, eax
je 0x41d295
mov ebx, edi
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov edi, eax
push dword [ebx]
call fcn.0043b7c0
add esp, 4
mov esi, eax
push dword [ebx]
call fcn.004362c0
add esp, 4
push ebp
push eax
push esi
push str.Error__d:__s_on___s__n
push edi
call fcn.004014c0
add esp, 0x14
xor edi, edi
jmp 0x41d700
mov dword [esp + 8], ebp
and esi, 0x3fffffff
push dword [esp]
call fcn.00431a20
add esp, 4
mov ebx, eax
lea eax, [eax + eax*2]
add eax, esi
add eax, 0xc8
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
call fcn.00424ee0
add esp, 8
test eax, eax
je 0x41d72e
mov edi, eax
add esi, 0xc8
push dword [esp + 0x38]
push str.INSERT_OR_IGNORE_INTO___s__VALUES__
push eax
push esi
call fcn.00428750
add esp, 0x10
mov edx, 0xffffffff
nop dword [eax]
cmp byte [edi + edx + 1], 0
lea edx, [edx + 1]
jne 0x41d2f0
mov eax, edx
and eax, 0x3fffffff
cmp ebx, 2
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
jl 0x41d321
mov edi, 1
cmp ebx, 0x11
jae 0x41d32a
mov edx, dword [esp + 0x34]
jmp 0x41d3f0
mov edx, dword [esp + 0x34]
jmp 0x41d40c
lea ecx, [ebx - 1]
add ebx, 0xffffffef
mov edi, ebx
shr edi, 4
inc edi
mov esi, edi
and esi, 3
xor ebp, ebp
cmp ebx, 0x30
jb 0x41d38f
and edi, 0xfffffffc
mov ebx, edx
and ebx, 0x3fffffff
mov ebp, dword [esp + 0xc]
add ebx, ebp
add ebx, 0x70
xor ebp, ebp
movaps xmm0, xmmword [str.________________B]
nop
movups xmmword [ebx + ebp*2 - 0x70], xmm0
movups xmmword [ebx + ebp*2 - 0x60], xmm0
movups xmmword [ebx + ebp*2 - 0x50], xmm0
movups xmmword [ebx + ebp*2 - 0x40], xmm0
movups xmmword [ebx + ebp*2 - 0x30], xmm0
movups xmmword [ebx + ebp*2 - 0x20], xmm0
movups xmmword [ebx + ebp*2 - 0x10], xmm0
movups xmmword [ebx + ebp*2], xmm0
add ebp, 0x40
add edi, 0xfffffffc
jne 0x41d360
mov edi, ecx
and edi, 0xfffffff0
test esi, esi
je 0x41d3d0
mov ebx, dword [esp + 0xc]
lea ebx, [ebx + ebp*2]
and edx, 0x3fffffff
add edx, ebx
add edx, 0x10
shl esi, 5
xor ebx, ebx
movaps xmm0, xmmword [str.________________B]
nop word cs:[eax + eax]
movups xmmword [edx + ebx - 0x10], xmm0
movups xmmword [edx + ebx], xmm0
add ebx, 0x20
cmp esi, ebx
jne 0x41d3c0
lea eax, [eax + edi*2]
cmp ecx, edi
jne 0x41d3e5
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
jmp 0x41d40c
or edi, 1
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, edi
mov edi, dword [esp + 0xc]
nop dword [eax + eax]
mov word [edi + eax], 0x3f2c
add eax, 2
dec ecx
jne 0x41d400
mov byte [edi + eax + 2], 0
mov word [edi + eax], 0x3b29
lea eax, [esp + 4]
push 0
push eax
push 0xffffffffffffffff
push edi
push edx
mov ebp, edx
call fcn.0042be00
add esp, 0x14
test eax, eax
je 0x41d46b
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov ebx, eax
push ebp
call fcn.0043b7c0
add esp, 4
mov esi, eax
push ebp
call fcn.004362c0
add esp, 4
mov ebp, dword [esp + 8]
push ebp
push eax
push esi
push str.Error__d:__s_on___s__n
push ebx
call fcn.004014c0
add esp, 0x14
jmp 0x41d700
mov al, 1
mov dword [esp + 0x14], 0
mov ebp, esp
mov dword [esp + 0x18], eax
jmp 0x41d4bb
push dword [esp + 4]
call fcn.00430240
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, ecx
mov edx, 0x68db8bad
imul edx
mov dword [esp + 0x14], ecx
imul eax, ecx, 0x3afb7e91
add eax, 0x346dc0
ror eax, 4
cmp eax, 0x68db8
mov edi, dword [esp + 0xc]
jbe 0x41d630
push dword [esp]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x41d680
test ebx, ebx
jle 0x41d5d0
xor edi, edi
jmp 0x41d528
mov ebx, dword [esp + 4]
lea ebp, [edi + 1]
push edi
push dword [esp + 4]
call fcn.00431a60
add esp, 8
mov esi, eax
push edi
push dword [esp + 4]
call fcn.00431b10
add esp, 8
push 0
push eax
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x24]
call fcn.004321e0
add esp, 0x14
mov edi, ebp
mov ebp, esp
nop word cs:[eax + eax]
cmp edi, ebx
je 0x41d5d0
push edi
push dword [esp + 4]
call fcn.00431fc0
add esp, 8
dec eax
cmp eax, 4
ja case.default.0x41d53b
jmp dword [eax*4 + 0x51c950]
mov esi, dword [esp + 4]
push edi
inc edi
push dword [esp + 4]
call fcn.0042d040
add esp, 8
push edx
push eax
push edi
push esi
call fcn.004325c0
add esp, 0x10
jmp 0x41d520
inc edi
jmp 0x41d520
mov esi, dword [esp + 4]
push edi
inc edi
push dword [esp + 4]
call fcn.00431cb0
sub esp, 8
fstp qword [esp + 8]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00432330
add esp, 0x10
jmp 0x41d520
mov esi, dword [esp + 4]
push edi
inc edi
push dword [esp + 4]
call fcn.00431d90
add esp, 8
push 0
push 0xffffffffffffffff
push eax
push edi
push esi
call fcn.00432710
add esp, 0x14
jmp 0x41d520
inc edi
push edi
push dword [esp + 8]
call fcn.00432640
add esp, 8
jmp 0x41d520
push dword [esp + 4]
call fcn.0042be30
add esp, 4
lea ecx, [eax - 0x64]
cmp ecx, 2
jb 0x41d480
test eax, eax
je 0x41d480
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x34]
push ebx
call fcn.0043b7c0
add esp, 4
mov edi, eax
push ebx
mov ebx, dword [esp + 0x14]
call fcn.004362c0
add esp, 4
push eax
push edi
push str.Error__d:__s_n
push esi
call fcn.004014c0
add esp, 0x10
jmp 0x41d480
mov eax, edx
shr eax, 0x1f
sar edx, 0xc
add edx, eax
lea eax, [edx + 3]
test edx, edx
cmovns eax, edx
and eax, 0xfffffffc
neg eax
movsx eax, byte [edx + eax + str.___]
push eax
push 0x521c61
call fcn.00408710
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
add esp, 4
jmp 0x41d4bb
cmp eax, 0x65
je 0x41d6fc
push dword [esp]
call fcn.0042d1d0
add esp, 4
push dword [esp + 8]
call fcn.00424f10
add esp, 4
push dword [esp + 0x38]
push str.SELECT__FROM___w__ORDER_BY_rowid_DESC_
call fcn.00428600
add esp, 8
test eax, eax
je 0x41d72e
push 0
push ebp
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x40]
push dword [eax]
call fcn.0042be00
add esp, 0x14
test eax, eax
jne 0x41d6df
test byte [esp + 0x18], 1
mov eax, 0
jne 0x41d477
jmp 0x41d6fc
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push dword [esp + 0x38]
push str.Warning:_cannot_step___s__backwards
push eax
call fcn.004014c0
add esp, 0xc
mov ebp, dword [esp + 8]
push dword [esp]
call fcn.0042d1d0
add esp, 4
push dword [esp + 4]
call fcn.0042d1d0
add esp, 4
push ebp
call fcn.00424f10
add esp, 4
push edi
call fcn.00424f10
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[eax + eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
cmp dword [ebp + 0xc], 3
jne 0x41e2c8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e2c8
mov ecx, dword [ebp + 8]
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x6c]
mov ebx, edi
and ebx, 0x200
push 0x520f7e
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
or eax, ebx
mov dword [esp + 0x20], esi
je 0x41d83f
push esi
push str.sqlite_stat_
call fcn.00435560
add esp, 8
or eax, ebx
je 0x41d858
push 7
push 0x520f19
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x41e2c8
test edi, 0x100
mov esi, dword [esp + 4]
jne 0x41d877
push 0x14
push str.CREATE_VIRTUAL_TABLE
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x41db05
test esi, esi
je 0x41d877
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x38]
push esi
push str.CREATE_TABLE____
call fcn.00435560
add esp, 8
test eax, eax
je 0x41dbe8
push 0x521dd7
push esi
push 0x521e14
jmp 0x41dbf6
test edi, 0x100
jne 0x41d877
mov eax, dword [ebp + 8]
push dword [eax + 0x38]
push 1
push 0x1d
push str.DELETE_FROM_sqlite_sequence__n
jmp 0x41d86f
test edi, 0x100
jne 0x41d877
mov eax, dword [ebp + 8]
push dword [eax + 0x38]
push 1
push 0x17
push str.ANALYZE_sqlite_schema__n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 0x520083
push dword [esp + 0xc]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x41e2c8
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x6c]
push dword [esp + 0x20]
push str.PRAGMA_table_info_Q
call fcn.00428600
add esp, 8
test eax, eax
je 0x41e2d2
mov esi, eax
lea eax, [esp + 0xc]
push 0
push eax
push 0xffffffffffffffff
push esi
push dword [edi]
call fcn.0042be00
add esp, 0x14
mov edi, eax
push esi
call fcn.00424f10
add esp, 4
test edi, edi
jne 0x41e2c2
push dword [esp + 0xc]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x41da4c
and ebx, 8
mov dword [esp + 0x38], ebx
shr ebx, 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 4], 0xffffffff
mov esi, 0x28
mov dword [esp + 0x1c], 0
xor edi, edi
xor ebx, ebx
jmp 0x41d985
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
push dword [esp + 0xc]
call fcn.0042be30
add esp, 4
add esi, 4
cmp eax, 0x64
jne 0x41da5d
mov dword [esp + 8], ebx
mov ebx, dword [esp + 4]
lea edx, [ebx + 1]
lea eax, [edi - 2]
mov ecx, edx
mov dword [esp + 4], edx
cmp edx, eax
jl 0x41d9bf
lea eax, [esi + edi*8]
push eax
push dword [esp + 0xc]
call fcn.00424f80
add esp, 8
mov dword [esp + 8], eax
test eax, eax
je 0x41e2d2
lea edi, [ebx + edi*2]
add edi, 0xb
push 1
push dword [esp + 0x10]
call fcn.00431d90
add esp, 8
push eax
push 0x51d22f
call fcn.00428600
add esp, 8
mov ecx, dword [esp + 8]
mov dword [ecx + ebx*4 + 8], eax
test eax, eax
je 0x41e2d2
mov ebx, ecx
push 5
push dword [esp + 0x10]
call fcn.0042d110
add esp, 8
test eax, eax
je 0x41d96d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41d960
push 2
push dword [esp + 0x10]
call fcn.00431d90
add esp, 8
push 0x521e2e
push eax
call fcn.00428d80
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x41d960
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], 1
jmp 0x41d96d
push dword [esp + 0xc]
call fcn.0042d1d0
add esp, 4
jmp 0x41e2c2
push dword [esp + 0xc]
call fcn.0042d1d0
add esp, 4
mov dword [ebx], 0
mov eax, dword [esp + 4]
mov dword [ebx + eax*4 + 8], 0
cmp dword [esp + 0x38], 0
je 0x41db65
cmp dword [esp + 0x30], 0
mov edi, dword [ebp + 8]
je 0x41db90
push dword [esp + 0x20]
push str.SELECT_1_FROM_pragma_index_list__Q__WHERE_originpk
call fcn.00428600
add esp, 8
test eax, eax
je 0x41e2d2
mov esi, eax
push 0
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push esi
push dword [edi]
call fcn.0042be00
add esp, 0x14
mov dword [esp + 0x1c], eax
push esi
call fcn.00424f10
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x41db6a
mov eax, dword [ebx + 4]
test eax, eax
je 0x41daf7
lea esi, [ebx + 8]
push eax
call fcn.00424f10
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x41dae5
push ebx
call fcn.00424f10
add esp, 4
jmp 0x41e2c2
mov edi, dword [ebp + 8]
cmp dword [edi + 0x54], 0
jne 0x41db29
push dword [edi + 0x38]
push 1
push 0x1b
push str.PRAGMA_writable_schemaON__n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov dword [edi + 0x54], 1
push esi
mov eax, dword [esp + 0x24]
push eax
push eax
push str.INSERT_INTO_sqlite_schema_type_name_tbl_name_rootpage_sql_VALUES_table__q__q_0__q__
call fcn.00428600
add esp, 0x10
mov esi, eax
mov ecx, eax
call fcn.00407bb0
push esi
push 0x51e066
push dword [edi + 0x38]
call fcn.004014c0
add esp, 0xc
push esi
call fcn.00424f10
add esp, 4
jmp 0x41e2c8
mov edi, dword [ebp + 8]
jmp 0x41db90
push dword [esp + 0xc]
call fcn.0042be30
add esp, 4
mov esi, eax
push dword [esp + 0xc]
call fcn.0042d1d0
add esp, 4
xor eax, eax
cmp esi, 0x64
sete al
mov dword [esp + 0x34], eax
cmp dword [esp + 0x34], 0
je 0x41dc68
mov esi, 0xffffffff
push dword [ebx + esi*4 + 8]
push 0x521e78
call fcn.00428d80
add esp, 8
test eax, eax
je 0x41dbc0
inc esi
cmp dword [esp + 4], esi
jne 0x41dba0
xor eax, eax
jmp 0x41dc27
mov esi, 0xffffffff
push dword [ebx + esi*4 + 8]
push str._rowid_
call fcn.00428d80
add esp, 8
test eax, eax
je 0x41dc01
inc esi
cmp dword [esp + 4], esi
jne 0x41dbc5
mov eax, 1
jmp 0x41dc27
add esi, 0xd
push 0x521dd7
push esi
push str.CREATE_TABLE_IF_NOT_EXISTS__s_s
push ebx
call fcn.004014c0
jmp 0x41d874
mov esi, 0xffffffff
push dword [ebx + esi*4 + 8]
push 0x521e86
call fcn.00428d80
add esp, 8
test eax, eax
je 0x41dc68
inc esi
cmp dword [esp + 4], esi
jne 0x41dc06
mov eax, 2
mov ecx, dword [edi]
mov esi, dword [eax*4 + 0x521e6c]
sub esp, 0x24
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 4], 0
call fcn.0043c7a0
add esp, 0x24
test eax, eax
jne 0x41dc68
mov dword [ebx], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x20]
movzx ebx, byte [esi]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
mov cl, 0x22
test eax, eax
jne 0x41dc9c
cmp bl, 0x5f
jne 0x41dcde
mov edi, esi
xor esi, esi
jmp 0x41dca8
movzx ebx, byte [edi + esi + 1]
inc esi
test bl, bl
je 0x41dcc8
movzx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x41dca2
cmp bl, 0x5f
je 0x41dca2
mov esi, edi
mov cl, 0x22
jmp 0x41dcde
push esi
mov esi, edi
push edi
call fcn.004380f0
add esp, 8
test eax, eax
mov ecx, 0x22
cmove ecx, eax
movsx eax, cl
lea ecx, [esp + 0x10]
mov edx, esi
push eax
call fcn.0041a260
add esp, 4
mov ebx, dword [esp + 8]
cmp dword [ebx], 0
je 0x41df3c
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x41dd1d
lea ecx, [edi + edi]
add ecx, 2
mov edx, dword [esp + 0x18]
cmp ecx, edx
jge 0x41dd21
mov dword [esp + 4], edx
jmp 0x41dd45
mov edx, dword [esp + 0x18]
lea edx, [edi + edx*2]
add edx, 0x16
mov dword [esp + 0x18], edx
mov dword [esp + 4], edx
push edx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e2d2
lea ecx, [edi + 1]
mov byte [eax + edi], 0x28
mov dword [esp + 0x14], ecx
mov byte [eax + edi + 1], 0
mov esi, dword [ebx]
mov ebx, 0xffffffff
nop dword [eax]
cmp byte [esi + ebx + 1], 0
lea ebx, [ebx + 1]
jne 0x41dd60
and ebx, 0x3fffffff
mov dword [esp + 0x1c], ecx
lea edx, [ebx + ecx]
test eax, eax
je 0x41dd8b
lea ecx, [edi + edx]
add ecx, 2
cmp ecx, dword [esp + 4]
jge 0x41dd8b
mov edi, edx
jmp 0x41ddb1
mov ecx, dword [esp + 4]
lea ecx, [edx + ecx*2]
add ecx, 0x15
mov dword [esp + 0x18], ecx
push ecx
push eax
mov edi, edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e2d2
add eax, dword [esp + 0x1c]
push ebx
push esi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov byte [eax + edi], 0
mov ebx, dword [esp + 8]
cmp dword [ebx + 4], 0
je 0x41dee4
lea esi, [ebx + 4]
mov eax, 1
jmp 0x41de28
push edi
push esi
call fcn.004380f0
add esp, 8
mov ecx, eax
test eax, eax
mov eax, 0x22
cmovne ecx, eax
mov edi, dword [esp + 4]
movsx eax, cl
lea ecx, [esp + 0x10]
mov edx, esi
push eax
call fcn.0041a260
add esp, 4
mov ebx, dword [esp + 8]
lea esi, [ebx + edi*4]
add esi, 4
cmp dword [ebx + edi*4 + 4], 0
lea eax, [edi + 1]
je 0x41decf
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea edi, [ebx + 1]
test eax, eax
je 0x41de48
lea edx, [edi + edi]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jge 0x41de4c
jmp 0x41de6c
mov ecx, dword [esp + 0x18]
lea ecx, [ebx + ecx*2]
add ecx, 0x16
mov dword [esp + 0x18], ecx
push ecx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e2d2
mov byte [eax + ebx], 0x2c
mov dword [esp + 0x14], edi
mov byte [eax + ebx + 1], 0
mov esi, dword [esi]
movzx ebx, byte [esi]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
mov cl, 0x22
test eax, eax
jne 0x41de97
cmp bl, 0x5f
jne 0x41ddfa
xor edi, edi
jmp 0x41dea6
movzx ebx, byte [esi + edi + 1]
inc edi
test bl, bl
je 0x41dde4
movzx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x41dea0
cmp bl, 0x5f
je 0x41dea0
mov edi, dword [esp + 4]
mov cl, 0x22
jmp 0x41ddfe
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edi, [edx + 1]
test eax, eax
je 0x41defa
mov dword [esp + 4], edx
jmp 0x41dee9
mov dword [esp + 4], edi
inc edi
lea edx, [edi + edi]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
mov edx, dword [esp + 4]
jge 0x41df00
jmp 0x41df2c
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], edi
lea ecx, [edx + ecx*2]
add ecx, 0x16
mov dword [esp + 0x18], ecx
push ecx
push eax
mov edi, edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov edx, edi
mov edi, dword [esp + 0xc]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e2d2
mov byte [eax + edx], 0x29
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov byte [eax + edi], 0
mov dword [esp + 0x2c], 0x1c
push 0x1c
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e2d2
mov esi, eax
mov dword [eax + 3], 0x20544345
mov dword [eax], 0x454c4553
mov dword [esp + 0x28], 7
mov byte [eax + 7], 0
mov ebx, dword [ebx]
test ebx, ebx
je 0x41e01c
mov edi, 0xffffffff
nop word cs:[eax + eax]
cmp byte [ebx + edi + 1], 0
lea edi, [edi + 1]
jne 0x41df90
and edi, 0x3fffffff
cmp edi, 0xd
jb 0x41dfc4
lea eax, [edi + 0x54]
mov dword [esp + 0x2c], eax
push eax
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov esi, eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e2d2
lea eax, [esi + 7]
push edi
push ebx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [esi + edi + 7], 0
lea ecx, [edi + edi]
add ecx, 0x10
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jl 0x41e007
lea eax, [edi + eax*2]
add eax, 0x1d
mov dword [esp + 0x2c], eax
push eax
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov esi, eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e2d2
lea eax, [edi + 8]
mov byte [esi + edi + 7], 0x2c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov byte [eax + edi + 8], 0
mov edi, dword [esp + 8]
mov esi, dword [edi + 4]
test esi, esi
je 0x41e142
mov dword [esp + 4], 1
jmp 0x41e07e
mov ecx, dword [esp + 0x2c]
lea ecx, [esi + ecx*2]
add ecx, 0x16
mov dword [esp + 0x2c], ecx
push ecx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e2d2
mov ecx, dword [esp + 4]
inc ecx
mov byte [eax + esi], 0x2c
mov dword [esp + 0x28], ebx
mov byte [eax + esi + 1], 0
mov edi, dword [esp + 8]
mov dword [esp + 4], ecx
mov esi, dword [edi + ecx*4]
test esi, esi
je 0x41e122
movzx ebx, byte [esi]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
mov cl, 0x22
test eax, eax
jne 0x41e096
cmp bl, 0x5f
jne 0x41e0da
xor edi, edi
jmp 0x41e0a6
movzx ebx, byte [esi + edi + 1]
inc edi
test bl, bl
je 0x41e0c4
movzx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x41e0a0
cmp bl, 0x5f
je 0x41e0a0
mov cl, 0x22
jmp 0x41e0da
push edi
push esi
call fcn.004380f0
add esp, 8
mov ecx, eax
test eax, eax
mov eax, 0x22
cmovne ecx, eax
movsx eax, cl
lea ecx, [esp + 0x24]
mov edx, esi
push eax
call fcn.0041a260
add esp, 4
mov edi, dword [esp + 8]
mov eax, dword [esp + 4]
cmp dword [edi + eax*4 + 4], 0
je 0x41e122
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea ebx, [esi + 1]
test eax, eax
je 0x41e035
lea edx, [ebx + ebx]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x41e039
jmp 0x41e059
mov eax, dword [edi + 4]
test eax, eax
je 0x41e142
lea esi, [edi + 8]
nop dword [eax]
push eax
call fcn.00424f10
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x41e130
push edi
call fcn.00424f10
add esp, 4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea edi, [esi + 6]
test eax, eax
je 0x41e168
lea edx, [esi + edi]
inc edx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x41e16c
jmp 0x41e18c
mov ecx, dword [esp + 0x2c]
lea ecx, [esi + ecx*2]
add ecx, 0x1b
mov dword [esp + 0x2c], ecx
push ecx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e2d2
mov word [eax + esi + 4], 0x204d
mov dword [eax + esi], 0x4f524620
mov dword [esp + 0x28], edi
mov byte [eax + esi + 6], 0
mov esi, dword [esp + 0x20]
movzx ebx, byte [esi]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
mov cl, 0x22
test eax, eax
jne 0x41e1bf
cmp bl, 0x5f
jne 0x41e20d
xor esi, esi
test bl, bl
je 0x41e1f5
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
jmp 0x41e1db
mov eax, dword [esp + 0x20]
movzx ebx, byte [eax + esi + 1]
inc esi
test bl, bl
je 0x41e1f5
movzx eax, bl
push eax
call edi
add esp, 4
test eax, eax
jne 0x41e1cd
cmp bl, 0x5f
je 0x41e1cd
mov esi, dword [esp + 0x20]
mov cl, 0x22
jmp 0x41e20d
push esi
mov esi, dword [esp + 0x24]
push esi
call fcn.004380f0
add esp, 8
test eax, eax
mov ecx, 0x22
cmove ecx, eax
movsx eax, cl
lea ecx, [esp + 0x24]
mov edx, esi
push eax
call fcn.0041a260
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x4c], 5
mov dword [edi + 0x44], 5
mov esi, dword [esp + 0x24]
mov ecx, edi
mov edx, esi
push 0
call fcn.00410460
add esp, 4
mov ebx, eax
cmp bl, 0xb
jne 0x41e298
push dword [edi + 0x38]
push 1
push 0x22
push str.__CORRUPTION_ERROR___n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov ecx, dword [edi]
call fcn.0041e350
mov ecx, edi
mov edx, esi
push 0
call fcn.00410460
add esp, 4
mov ecx, dword [edi]
call fcn.0041e350
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x80], eax
mov eax, dword [esp + 8]
mov dword [edi + 0x44], eax
push dword [esp + 4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
je 0x41e2c8
mov eax, dword [ebp + 8]
inc dword [eax + 0x40]
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x15
push str.Error:_out_of_memory_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop word cs:[eax + eax]