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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, edx
mov esi, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x90], eax
mov dword [esp + 0x48], edx
cmp dword [ebp + 0xc], 0
jne 0x1000c6ba
xor eax, eax
inc eax
add dword [ecx + 0xd0], eax
cmp dword [ebx + 0x18], 1
jne 0x1000c407
test ebx, ebx
jne 0x1000ca43
movzx eax, byte [ecx + 0xb]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xa8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx + 0xe8]
mov eax, dword [ecx + 0x20]
mov esi, dword [eax]
mov dword [esp], ecx
lea eax, [ecx + 0x34]
push 0x30
push esi
mov dword [esp + 0x30], eax
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1000c6ef
mov eax, dword [esi + 0x10]
inc eax
mov dword [esp + 4], eax
mov ecx, dword [esp]
cmp word [ecx + 0x28], 0
mov dword [esp + 0x10], ebx
je 0x1000c8e0
mov eax, dword [ecx + 0x44]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1000c944
mov esi, dword [esp + 0x24]
cmp dword [ecx + 0x24], esi
jne 0x1000cf0e
lea edx, [esi + 0x18]
mov ebx, edx
sar ebx, 0x1f
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov dword [esp + 0x34], edx
mul edx
mov edi, eax
mov eax, ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
imul ebx, eax
add ebx, edx
xor edx, edx
add edi, 0x20
adc ebx, edx
mov ecx, dword [esp]
mov dword [esp + 0x58], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000c6a5
mov dword [esp + 0x30], 0
cmp dword [esp + 4], 0
je 0x1000c519
cmp dword [ebp + 0xc], 0
je 0x1000c4f7
cmp dword [esi + 0x10], 0
je 0x1000cc6c
mov dword [esp + 0x70], 0
mov edx, dword [esi + 0x18]
lea eax, [esp + 0x70]
push eax
call fcn.10006a60
add esp, 4
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esp + 4]
jae 0x1000c570
inc dword [esp + 0xc]
cmp dword [ebp + 0xc], 0
je 0x1000c56c
mov eax, dword [esi + 0x10]
test eax, eax
mov eax, 0
cmove eax, dword [ebp + 8]
lea ecx, [esp + 0x58]
mov edx, esi
push ebx
push edi
push eax
call fcn.1000d2b0
add esp, 0xc
test eax, eax
jne 0x1000ca3a
add edi, dword [esp + 0x34]
adc ebx, dword [esp + 0x14]
or byte [esi + 0x1c], 0x40
mov dword [esp + 0x30], esi
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x1000c4e0
jmp 0x1000c5e3
xor eax, eax
jmp 0x1000c531
lea eax, [ecx - 1]
mov edx, eax
imul edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mul dword [esp + 0x34]
add eax, 0x38
mov dword [esp + 8], eax
adc edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp]
mov eax, dword [edx + 0x68]
dec eax
cmp eax, ecx
jae 0x1000cc64
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push dword [esp + 0x1c]
push dword [esp + 0xc]
push dword [esp + 0x2c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call ecx
add esp, 0x14
test eax, eax
jne 0x1000ca3a
and byte [esi + 0x1c], 0xbf
jmp 0x1000c55a
mov eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 4], 0
cmp dword [ebp + 0xc], 0
jne 0x1000c6fc
mov esi, dword [ecx + 0x44]
test edi, edi
je 0x1000c6b6
test edx, edx
jne 0x1000c6b6
mov ebx, edi
test byte [edi + 0x1c], 0x40
je 0x1000c636
inc esi
mov edx, esi
push dword [edi + 0x18]
call fcn.1000d150
add esp, 4
mov edx, eax
mov edi, dword [edi + 0x10]
test edi, edi
je 0x1000c63a
test edx, edx
mov ecx, dword [esp]
je 0x1000c610
jmp 0x1000c63d
xor edx, edx
jmp 0x1000c626
mov ecx, dword [esp]
test edx, edx
sete al
jne 0x1000c64f
cmp dword [esp + 4], 0
jg 0x1000cf36
test al, al
je 0x1000ca3c
mov edx, dword [esp + 0x24]
mov eax, edx
and eax, 0xff00
shr edx, 0x10
or edx, eax
mov word [ecx + 0x42], dx
mov dword [ecx + 0x44], esi
cmp dword [ebp + 0xc], 0
jne 0x1000c7e0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x1000c68b
test ebx, ebx
jne 0x1000cf6a
xor esi, esi
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x30], 0
mov eax, edi
mov edi, esi
jmp 0x1000c5e9
mov ebx, edi
jmp 0x1000c63d
test ebx, ebx
je 0x1000cc28
xor eax, eax
lea edi, [esp + 0x48]
xor edx, edx
cmp dword [ebx + 0x18], esi
lea esi, [ebx + 0x10]
cmovbe edi, esi
mov esi, dword [ebp + 8]
setbe dl
add eax, edx
mov edx, dword [ebx + 0x10]
mov dword [edi], edx
test edx, edx
mov ebx, edx
jne 0x1000c6c8
mov ebx, dword [esp + 0x48]
jmp 0x1000c3f3
mov dword [esp + 4], 0
jmp 0x1000c44e
mov dword [esp + 0x38], ebx
cmp dword [ecx + 0x68], 0
jne 0x1000cc77
xor edx, edx
mov dword [esp + 4], 0
mov ebx, dword [esp + 0x20]
and ebx, 3
jne 0x1000cc31
cmp byte [ecx + 0x2f], 0
je 0x1000c5fb
mov dword [esp + 8], edx
mov ebx, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
js 0x1000cfa0
mov eax, dword [esp + 0xc]
add eax, dword [esp + 4]
mov edi, dword [esp + 0x14]
imul edi, eax
mul dword [esp + 0x34]
mov esi, eax
mov eax, dword [ebx + 0x10]
add esi, 0x20
adc edx, edi
cmp esi, eax
mov edi, eax
cmova edi, esi
cmp edx, ecx
cmovle edx, ecx
mov dword [esp + 0xc], edx
cmovle esi, eax
cmove esi, edi
mov ecx, dword [0x101f42bc]
test ecx, ecx
jne 0x1000cfab
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
lea eax, [esp + 0x70]
push eax
push edi
call ecx
add esp, 8
test eax, eax
jne 0x1000cfb8
xor eax, eax
cmp esi, dword [esp + 0x70]
mov ebx, dword [esp + 0xc]
mov ecx, ebx
sbb ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 8]
jl 0x1000cc02
mov esi, eax
mov ecx, dword [0x101f42c0]
test ecx, ecx
jne 0x1000cfc5
test esi, esi
jne 0x1000cfd6
mov ecx, dword [esp]
mov byte [ecx + 0x2f], 0
jmp 0x1000c5fb
mov eax, dword [ecx + 0x3c]
lea ecx, [eax + 1]
mov edx, dword [esp]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
mov dword [ecx + 0x48], edx
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp]
mov edx, dword [edx + 0x38]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
mov ecx, dword [esp]
mov byte [ecx + 0x40], 1
mov ecx, 0x2de218
mov ebx, dword [esp]
mov dword [ebx + 0x34], ecx
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x40]
add ebx, edx
lea edi, [eax + edx]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 4]
add edx, eax
add edx, 0x5bc431
add edx, ebx
add ecx, edx
mov eax, dword [esp + 0xc]
add eax, esi
add eax, 0x5bc431
add eax, ecx
mov ecx, dword [ebp + 8]
add ecx, edx
add ecx, 0x2de218
add ecx, eax
mov edx, dword [esp]
add eax, dword [edx + 0x4c]
add eax, ecx
mov edx, dword [esp]
add ecx, dword [edx + 0x50]
add ecx, eax
mov edx, dword [esp]
add eax, dword [edx + 0x54]
add eax, ecx
mov edx, dword [esp]
add ecx, dword [edx + 0x58]
add ecx, eax
mov edx, dword [esp]
mov dword [edx + 0x5c], eax
mov eax, dword [esp]
mov dword [eax + 0x60], ecx
mov eax, dword [esp]
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [edi + 0x40], xmm1
movups xmmword [edi + 0x30], xmm0
cmp byte [eax + 0x2b], 2
je 0x1000c8ba
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push ebx
call ecx
mov eax, dword [esp + 4]
add esp, 4
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi], xmm0
mov dword [eax + 0xc], esi
mov ebx, dword [esp + 0x10]
jmp 0x1000c678
cmp dword [esi + 0x60], 0
jne 0x1000ca78
cmp byte [ecx + 0x2b], 0
jne 0x1000c90e
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 5
push 1
push 3
push esi
call ecx
mov ecx, dword [esp + 0x10]
add esp, 0x10
mov word [ecx + 0x28], 0xffff
xor edi, edi
inc edi
lea esi, [esp + 0x70]
mov ecx, dword [esp]
mov edx, esi
push edi
push 1
call fcn.10010dd0
mov ecx, dword [esp + 8]
add esp, 8
mov edx, eax
inc edi
cmp eax, 0xffffffff
je 0x1000c91b
test edx, edx
je 0x1000c460
jmp 0x1000ca3c
mov dword [esp + 0x70], 0x82067f37
mov dword [esp + 0x74], 0x18e22d00
mov eax, dword [esp + 0x24]
bswap eax
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x70]
mov esi, ecx
mov ecx, edx
bswap ecx
mov dword [esp + 0x7c], ecx
test edx, edx
jne 0x1000ca69
lea eax, [esi + 0x54]
push eax
push 8
call sym.nss3.dll_sqlite3_randomness
add esp, 8
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
add edx, edi
add eax, edi
mov edi, dword [esi + 0x58]
add eax, edx
add edx, eax
add edx, ecx
lea ebx, [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x10], ecx
add eax, ecx
mov dword [ebx + 0x14], edi
add edi, edx
add eax, edx
add edi, eax
mov ecx, eax
bswap ecx
mov dword [ebx + 0x18], ecx
mov ecx, edi
bswap ecx
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x24], ecx
mov byte [esi + 0x41], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
mov byte [esi + 0x2f], 1
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
xor eax, eax
push eax
push eax
push 0x20
push ebx
push edi
call ecx
add esp, 0x14
test eax, eax
jne 0x1000ca3a
cmp byte [esi + 0x30], 0
mov ecx, esi
je 0x1000c46f
mov esi, dword [esp + 0x20]
shr esi, 2
and esi, 3
je 0x1000c46f
mov edi, dword [ecx + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push esi
push edi
call ecx
mov ecx, dword [esp + 8]
add esp, 8
test eax, eax
je 0x1000c46f
mov edx, eax
mov esi, edx
jmp 0x1000c68d
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + 0x70]
bswap edx
inc edx
bswap edx
mov dword [eax + 0x18], edx
mov eax, dword [ebx + 4]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + 4]
mov dword [eax + 0x60], 0xd06a2e00
jmp 0x1000c407
mov edi, 0x82067f37
mov edx, 0x18e22d00
jmp 0x1000c991
lea eax, [esp + 0x70]
push eax
push 4
call sym.nss3.dll_sqlite3_randomness
mov ecx, dword [esp + 8]
add esp, 8
cmp byte [ecx + 0x2b], 0
jne 0x1000caba
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
mov eax, 4
push 0xa
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x10]
add esp, 0x10
test eax, eax
jne 0x1000cff3
mov esi, dword [esp + 0x70]
mov dword [esp + 0xc], esi
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14], eax
mov ebx, dword [edx]
inc dword [ecx + 0x70]
mov dword [ecx + 0x44], 0
mov eax, dword [esp]
mov ecx, dword [eax + 0x54]
bswap ecx
inc ecx
bswap ecx
mov eax, dword [esp]
mov dword [eax + 0x54], ecx
mov eax, dword [esp]
mov dword [eax + 0x58], esi
mov edi, dword [edx]
mov eax, dword [esp]
mov byte [eax + 0x40], 1
mov edx, 0x2de218
mov eax, dword [esp]
mov dword [eax + 0x34], edx
mov eax, dword [esp]
mov edx, dword [eax + 0x40]
mov esi, dword [esp + 0x14]
add edx, esi
mov eax, dword [esp]
mov eax, dword [eax + 0x3c]
add eax, esi
add eax, 0x5bc430
add edx, eax
mov esi, 0x2de218
add edx, esi
add eax, edx
mov esi, dword [esp]
add edx, dword [esi + 0x48]
add edx, eax
mov esi, dword [esp]
add eax, dword [esi + 0x4c]
add eax, edx
mov esi, dword [esp]
add edx, dword [esi + 0x50]
add edx, eax
add eax, ecx
mov ecx, dword [esp]
add eax, edx
add edx, dword [esp + 0xc]
add edx, eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], edx
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [edi + 0x40], xmm1
movups xmmword [edi + 0x30], xmm0
cmp byte [ecx + 0x2b], 2
je 0x1000cb8b
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [esp + 4]
add esp, 4
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi], xmm0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0xffffffff
mov dword [ebx + 0x70], 0xffffffff
mov dword [ebx + 0x74], 0xffffffff
cmp byte [ecx + 0x2b], 0
jne 0x1000c8ea
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
mov eax, 4
push 9
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x10]
add esp, 0x10
jmp 0x1000c8ea
mov eax, dword [esp]
mov edi, dword [eax + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
call ecx
mov edx, dword [esp + 0x14]
add esp, 0xc
jmp 0x1000c7bc
xor ebx, ebx
xor eax, eax
jmp 0x1000c3f3
mov dword [esp + 4], 0
cmp byte [ecx + 0x31], 0
jne 0x1000d00d
mov esi, dword [esp + 0x4c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push ebx
push esi
call ecx
mov ecx, dword [esp + 8]
add esp, 8
mov edx, eax
jmp 0x1000c721
mov dword [edx + 0x68], ecx
jmp 0x1000c5a0
inc dword [esp + 0xc]
xor eax, eax
jmp 0x1000c526
mov dword [esp + 0x18], eax
mov esi, dword [ecx + 0x24]
call sym.nss3.dll_sqlite3_initialize
cmp esi, 0xffffffe9
jl 0x1000d003
test eax, eax
jne 0x1000d003
mov ecx, esi
add ecx, 0x18
mov dword [esp + 4], ecx
xor edx, edx
call fcn.10142fa0
test eax, eax
je 0x1000d003
mov ebx, eax
mov edi, dword [esp]
mov ecx, dword [edi + 0x68]
lea eax, [ecx - 2]
mul dword [esp + 4]
mov esi, edx
add eax, 0x30
adc esi, 0
cmp ecx, 1
mov edx, dword [edi + 8]
mov dword [esp + 8], edx
mov ecx, 0
cmove esi, ecx
mov edi, 0x18
cmovne edi, eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
push edi
push 8
push ebx
push dword [esp + 0x18]
call ecx
mov edi, dword [esp + 0x14]
add esp, 0x14
mov edx, dword [ebx]
bswap edx
mov dword [edi + 0x4c], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [ebx + 4]
bswap edx
mov dword [edi + 0x50], edx
mov edx, dword [edi + 0x68]
mov dword [edi + 0x68], 0
test eax, eax
jne 0x1000ce63
cmp edx, dword [esp + 0xc]
ja 0x1000ce63
lea eax, [edi + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
add eax, 0x18
mov dword [esp + 0x50], eax
inc edx
mov dword [esp + 0x40], edx
lea eax, [edx - 2]
mul dword [esp + 4]
mov ebx, edx
mov esi, eax
add esi, 0x20
adc ebx, 0
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
mov dword [esp + 0xc], esi
push esi
push dword [esp + 0xc]
mov esi, dword [esp + 0x38]
push esi
push dword [esp + 0x2c]
call ecx
add esp, 0x14
test eax, eax
jne 0x1000ce63
mov edx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
cmp dword [edi + 0x68], 0
mov ecx, edi
jne 0x1000ce57
mov dword [esp + 0x1c], edx
bswap edx
movsd xmm0, qword [ecx + 0x54]
movsd qword [esp + 0x78], xmm0
mov edi, dword [ecx + 0x50]
mov dword [esp + 0x3c], edi
mov eax, dword [ecx + 0x4c]
add eax, edi
xor ecx, ecx
mov edi, dword [esp]
cmp byte [edi + 0x41], 0
cmove edx, dword [esp + 0x1c]
mov edi, esi
bswap edi
cmove edi, esi
sete cl
add edx, eax
add edi, dword [esp + 0x3c]
mov eax, dword [esp]
mov esi, dword [eax + 0x24]
add edi, edx
mov eax, dword [esp]
mov dword [eax + 0x4c], edx
mov eax, dword [esp]
mov dword [eax + 0x50], edi
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push eax
push eax
push esi
call fcn.101400e0
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov eax, dword [ecx + 0x4c]
bswap eax
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x50]
bswap eax
mov dword [esp + 0x84], eax
mov esi, dword [esp + 8]
mov edi, dword [ecx + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push ebx
push esi
push 0x18
lea eax, [esp + 0x7c]
push eax
push edi
call ecx
add esp, 0x14
test eax, eax
jne 0x1000ce63
mov edx, dword [esp + 0x40]
lea ecx, [edx + 1]
cmp edx, dword [esp + 0xc]
mov edx, ecx
mov edi, dword [esp]
jbe 0x1000cd3c
jmp 0x1000ce63
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
jmp 0x1000ce1a
cmp dword [0x101f1020], 0
mov dword [esp + 8], eax
je 0x1000d0f5
mov esi, dword [0x101f4170]
test esi, esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
je 0x1000ce9f
mov ecx, dword [0x101f1070]
cmp ecx, 0x10137970
jne 0x1000d117
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101f104c]
call dword [section..00cfg]
mov esi, dword [esp + 0x2c]
push esi
call ecx
add esp, 4
sub dword [0x101f411c], eax
dec dword [0x101f4140]
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x101f4170]
test esi, esi
je 0x1000cef6
mov ecx, dword [0x101f1078]
cmp ecx, 0x10129ee0
jne 0x1000d128
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edx, dword [esp + 8]
test edx, edx
mov ecx, dword [esp]
mov eax, edi
mov edi, ebx
je 0x1000c70a
jmp 0x1000ca3c
push 0x101db30a
push 0x10680
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov edx, 0xb
jmp 0x1000ca3c
inc esi
mov edx, esi
mov eax, dword [esp + 0x30]
push dword [eax + 0x18]
call fcn.1000d150
add esp, 4
mov edx, eax
test eax, eax
sete al
jne 0x1000cf98
mov edi, dword [esp + 4]
lea ecx, [edi - 1]
cmp edi, 1
mov dword [esp + 4], ecx
mov ecx, dword [esp]
jbe 0x1000c64f
jmp 0x1000cf36
xor esi, esi
test ecx, ecx
jne 0x1000cf88
mov eax, ebx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1000c68d
mov ebx, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x60]
jmp 0x1000cf6c
mov edx, dword [ebx + 0x18]
push dword [ebx + 4]
call fcn.10164c10
add esp, 4
jmp 0x1000cf70
mov ecx, dword [esp]
jmp 0x1000c64f
mov ecx, ebx
mov edx, dword [esp + 8]
jmp 0x1000c5fb
call dword [section..00cfg]
call ecx
jmp 0x1000c77d
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 8]
jmp 0x1000c7bc
call dword [section..00cfg]
call ecx
mov edx, dword [esp + 8]
jmp 0x1000c7cc
mov eax, dword [esp]
push dword [eax + 0x6c]
push str.cannot_limit_WAL_size:__s
push esi
call sym.nss3.dll_sqlite3_log
mov edx, dword [esp + 0x14]
add esp, 0xc
jmp 0x1000c7d4
cmp eax, 5
je 0x1000c8ea
mov edx, eax
jmp 0x1000c937
mov edx, 7
jmp 0x1000ca3c
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov esi, dword [ecx + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x1000d139
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, 0x10000
cmp eax, ecx
cmovl ecx, eax
cmp eax, 0x20
mov eax, 0x200
cmovge eax, ecx
mov esi, dword [esp + 0x18]
add esi, eax
mov ebx, dword [esp + 0x38]
mov edi, ebx
adc edi, 0
add esi, 0xffffffff
adc edi, 0xffffffff
push 0
push eax
push edi
push esi
call fcn.10157cd0
sub esi, eax
sbb edi, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 8], esi
cmp dword [esp + 0x18], esi
mov eax, ebx
mov ebx, edi
sbb eax, edi
mov dword [esp + 4], 0
jge 0x1000d0cc
mov dword [esp + 4], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x30]
push esi
push edi
push dword [ebp + 8]
call fcn.1000d2b0
add esp, 0xc
test eax, eax
jne 0x1000ca3a
add edi, dword [esp + 0x34]
adc esi, dword [esp + 0x14]
inc dword [esp + 4]
cmp edi, dword [esp + 8]
mov eax, esi
sbb eax, ebx
jl 0x1000d099
mov eax, dword [esp + 8]
xor eax, dword [esp + 0x18]
xor ebx, dword [esp + 0x38]
or ebx, eax
mov edi, dword [esp + 0x10]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x20]
mov edx, 0
jne 0x1000c721
jmp 0x1000cc43
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push dword [esp + 0x2c]
call ecx
add esp, 4
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
jmp 0x1000cef6
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1000ce9f
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1000cef6
mov eax, 0x1000
jmp 0x1000d046