Function at 0x10139400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov esi, ecx
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x1c8], eax
mov ebx, dword [ecx + 0x68]
mov edi, dword [ecx]
mov eax, dword [ecx + 0x58]
mov dword [esp + 0xc], eax
mov al, byte [edi + 0x50]
mov byte [esp + 0x27], al
call fcn.1000d5d0
xor eax, eax
dec eax
cmp dword [edi + 0x158], 0
mov dword [esp + 0x60], eax
jne 0x101394d2
mov dword [esp + 0x6c], eax
cmp dword [esi + 0x28], 7
mov dword [esp + 0x18], esi
mov dword [esp + 8], edi
mov dword [esp + 0x44], ebx
je 0x101394ef
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x78], eax
mov dword [edi + 0x1ac], eax
mov eax, dword [edi + 0x110]
test eax, eax
jne 0x1013950f
lea eax, [esi + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x24]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
lea ecx, [esi + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [edi + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 4], 0
jmp 0x10139552
mov eax, dword [esi + 0xb4]
mov ecx, dword [edi + 0x160]
xor edx, edx
div ecx
sub ecx, edx
mov dword [esp + 0x60], ecx
xor eax, eax
jmp 0x1013944b
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp], ebx
jmp 0x101407c0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp], ebx
jmp 0x1013d6e6
mov eax, dword [esp]
add eax, 0x14
add dword [esp + 0x74], 1
adc dword [esp + 0x70], 0
mov dword [esp], eax
mov bl, byte [eax]
mov eax, ebx
add al, 0x80
xor ecx, ecx
test cl, cl
jne 0x1013954c
movzx ecx, bl
movzx eax, al
jmp dword [eax*4 + 0x101a30d0]
mov ebx, 9
mov ecx, ebx
mov ebx, 7
cmp byte [edi + 0x53], 0
jne 0x1013d727
mov eax, ecx
mov ebx, ecx
cmp ecx, 0x210a
jne 0x1013d727
push 0x101c47ed
push 0x17213
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov ebx, 0xb
cmp ebx, 0xc0a
je 0x101439a6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x7c], 0
jne 0x101439a6
cmp ebx, 0x204
je 0x10143968
cmp ebx, 0x65
je 0x1014396f
cmp ebx, 0x64
jne 0x10143976
mov eax, str.another_row_available
jmp 0x10143994
mov edi, dword [esp + 8]
cmp byte [edi + 0x53], 0
jne 0x1014080f
cmp byte [edi + 0x54], 0
jne 0x1014080f
mov byte [edi + 0x53], 1
cmp dword [edi + 0xc0], 0
jle 0x101407eb
mov eax, dword [esp + 8]
mov dword [eax + 0x110], 1
mov edi, dword [esp + 8]
inc dword [edi + 0x118]
mov word [edi + 0x11c], 0
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x1014080f
mov dword [eax + 0xc], 7
push str.out_of_memory
push dword [esp + 0x1c]
call fcn.1014e390
add esp, 8
mov ebx, 7
jmp 0x1013d6eb
mov edi, dword [esp + 8]
jmp 0x1013d6eb
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x74]
cmp esi, edx
mov eax, dword [esp + 0x70]
mov edi, edx
mov edx, dword [esp + 0x6c]
sbb eax, edx
jb 0x10142d16
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x10142d16
mov eax, dword [esp + 8]
add edi, dword [eax + 0x160]
mov dword [esp + 0x60], edi
adc edx, 0
mov dword [esp + 0x6c], edx
mov esi, dword [eax + 0x15c]
call dword [section..00cfg]
push esi
mov esi, dword [esp + 0x64]
call ecx
mov edx, esi
add esp, 4
test eax, eax
je 0x10142cae
xor eax, eax
dec eax
mov ebx, 9
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
jmp 0x1014084f
mov ecx, dword [esp + 0x18]
add dword [ecx + 0xb4], esi
cmp dword [ecx + 0xa0], 0
jne 0x10142d41
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100152e0
jmp 0x10142d29
mov eax, str.abort_due_to_ROLLBACK
jmp 0x10143994
mov eax, str.no_more_rows_available
jmp 0x10143994
movzx ecx, bl
mov eax, str.unknown_error
cmp ecx, 0x1c
ja 0x10143994
mov edx, 0x1410004
bt edx, ecx
jb 0x10143994
mov eax, dword [ecx*4 + 0x101a1a94]
push eax
push 0x101b7896
push dword [esp + 0x20]
call fcn.1014e390
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [eax + 0x28], ebx
cmp ebx, 0xc0a
je 0x101439f8
mov eax, ebx
and eax, 0xfb
cmp eax, 0xa
jne 0x101439f8
mov eax, dword [esp + 8]
mov esi, dword [eax]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x101439ef
call dword [section..00cfg]
xor eax, eax
push eax
push eax
push esi
call ecx
add esp, 0xc
jmp 0x101439f1
xor eax, eax
mov ecx, dword [esp + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [esp]
sub eax, dword [esp + 0x44]
sar eax, 2
imul eax, eax, 0xcccccccd
mov esi, dword [esp + 0x18]
push dword [esi + 0x7c]
push dword [esi + 0xc0]
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov ecx, esi
call fcn.10146bc0
cmp ebx, 0xc0a
jne 0x10143a8a
mov eax, dword [esp + 8]
cmp byte [eax + 0x53], 0
jne 0x10143a8a
mov eax, dword [esp + 8]
cmp byte [eax + 0x54], 0
jne 0x10143a8a
mov eax, dword [esp + 8]
mov byte [eax + 0x53], 1
cmp dword [eax + 0xc0], 0
jle 0x10143a66
mov eax, dword [esp + 8]
mov dword [eax + 0x110], 1
mov eax, dword [esp + 8]
inc dword [eax + 0x118]
mov word [eax + 0x11c], 0
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x10143a8a
mov dword [eax + 0xc], 7
xor ebx, ebx
inc ebx
cmp byte [esp + 0x68], 0
je 0x10143aa8
movzx edx, byte [esp + 0x68]
dec edx
mov ecx, dword [esp + 8]
call fcn.1014e620
jmp 0x10142caa
mov dword [esp + 0x68], 0
jmp 0x10142caa