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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov dword [esp + 0x64], edx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0xf8], eax
mov dword [esp + 0x7c], 0
cmp byte [ecx + 0x2e], 0
jne 0x10144b68
mov ebx, dword [ebp + 8]
cmp byte [ecx + 0x2b], 0
mov dword [esp + 0xc], ecx
je 0x101447f9
mov eax, dword [ebp + 0xc]
mov byte [ecx + 0x2d], 1
mov dword [esp + 0x34], 0
test ebx, ebx
jne 0x10144dc9
mov dword [esp + 0x10], eax
lea esi, [esp + 0x7c]
mov edx, esi
call fcn.10011650
mov edi, eax
cmp dword [esi], 0
jne 0x10144b72
mov al, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x101447a0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x44]
movzx eax, word [eax + 0x42]
mov edx, eax
shl edx, 0x10
or edx, eax
and edx, 0x1fe00
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x10143bb8
cmp edx, dword [ebp + 0x18]
jne 0x10144c85
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x60]
cmp eax, dword [esp + 0x28]
jae 0x101446d1
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x68], eax
xor esi, esi
inc esi
xor edi, edi
mov eax, ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + esi*4 + 0x64]
cmp dword [esp + 0x28], ebx
ja 0x10143bfd
inc esi
cmp esi, 5
jne 0x10143be8
jmp 0x10143c8a
lea edx, [esi + 3]
mov dword [esp + 0x10], edx
cmp byte [eax + 0x2b], 0
jne 0x10143c42
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push dword [esp + 0x18]
push edi
call ecx
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x10143c36
cmp eax, 5
je 0x10144d44
test eax, eax
mov ecx, dword [esp + 0x1c]
jne 0x10144d20
cmp esi, 1
mov eax, 0xffffffff
cmove eax, dword [esp + 0x28]
mov dword [ecx + esi*4 + 0x64], eax
mov eax, dword [esp + 0xc]
xor edi, edi
cmp byte [eax + 0x2b], 0
jne 0x10143bf2
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push dword [esp + 0x18]
push edi
xor edi, edi
call ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esp, 0x10
jmp 0x10143bf2
mov eax, dword [ecx + 0x60]
cmp eax, dword [esp + 0x28]
jae 0x10144c06
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x44]
call sym.nss3.dll_sqlite3_initialize
mov dword [esp + 0x10], 7
test eax, eax
jne 0x101447a0
lea edi, [esi + 0x21]
shr edi, 0xc
lea eax, [edi + edi*4]
shl eax, 2
mov dword [esp + 0x5c], esi
lea ebx, [eax + esi*2]
add ebx, 0x1c
mov ecx, ebx
xor edx, edx
call fcn.10142fa0
test eax, eax
je 0x101447a0
mov dword [esp + 0x60], edi
lea esi, [edi + 1]
push ebx
push 0
push eax
mov edi, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [edi + 4], esi
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10144c13
mov ecx, 0x1000
mov eax, dword [esp + 0x5c]
cmp eax, ecx
cmovb ecx, eax
add ecx, ecx
xor esi, esi
xor edx, edx
call fcn.10142fa0
mov dword [esp + 0x20], eax
test eax, eax
setne bl
mov edi, 7
cmovne edi, esi
je 0x1014489c
mov eax, dword [esp + 0x38]
add eax, 0x22
shr eax, 0xc
mov edx, eax
cmp eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
ja 0x101442d0
add eax, 0x16
mov dword [esp + 0x74], eax
cmp dword [ecx + 0x18], edx
mov eax, edx
mov dword [esp + 0x38], edx
jle 0x10144b34
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + ecx*4]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], edi
xor eax, eax
test edi, edi
je 0x10144b34
lea esi, [edi + 0x4000]
mov dword [esp + 0x80], esi
test edx, edx
mov ebx, dword [esp + 0x14]
jne 0x10144c35
add edi, 0x88
mov dword [esp + 0x2c], edi
mov dword [esp + 0x84], edi
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov edi, eax
test eax, eax
jne 0x10144b61
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x38], eax
jne 0x10144c48
mov edi, edx
sub edi, ecx
mov esi, ebx
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
lea eax, [eax + ecx*2]
add eax, 8
mov dword [esp + 0x6c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
test edi, edi
mov dword [esp + 0x70], edi
jle 0x10144ae0
lea eax, [edi - 1]
movd xmm0, eax
lea eax, [edi + 7]
and eax, 0xfffffff8
pshufd xmm0, xmm0, 0
add ecx, ecx
lea ecx, [ecx + edx*4]
add ecx, dword [esp + 0x74]
xor edx, edx
movdqa xmm1, xmmword [0x101b12b0]
movdqa xmm2, xmmword [0x101b12a0]
movdqa xmm3, xmm0
movdqa xmm5, xmmword [0x101b12c0]
pxor xmm3, xmm5
movdqa xmm4, xmm1
pxor xmm4, xmm5
pcmpgtd xmm4, xmm3
movd ebx, xmm4
not ebx
test bl, 1
je 0x10143e69
mov word [ecx + edx*2 - 0xe], dx
pxor xmm4, xmmword [0x101b12e0]
movdqa xmm5, xmm4
psrlq xmm5, 0x10
movd ebx, xmm5
shr ebx, 0x10
test bl, 1
je 0x10143e8e
lea esi, [edx + 1]
mov word [ecx + edx*2 - 0xc], si
pextrw ebx, xmm4, 4
test bl, 1
je 0x10143ea0
lea esi, [edx + 2]
mov word [ecx + edx*2 - 0xa], si
pextrw ebx, xmm4, 6
test bl, 1
je 0x10143eb2
lea esi, [edx + 3]
mov word [ecx + edx*2 - 8], si
movdqa xmm4, xmm2
pxor xmm4, xmmword [0x101b12c0]
pcmpgtd xmm4, xmm3
pshufd xmm3, xmm4, 0x44
pxor xmm3, xmmword [0x101b12e0]
pextrw ebx, xmm3, 4
test bl, 1
je 0x10143ee1
lea esi, [edx + 4]
mov word [ecx + edx*2 - 6], si
pxor xmm4, xmmword [0x101b12e0]
pextrw ebx, xmm4, 2
test bl, 1
je 0x10143efb
lea esi, [edx + 5]
mov word [ecx + edx*2 - 4], si
pextrw ebx, xmm4, 4
test bl, 1
je 0x10143f0d
lea esi, [edx + 6]
mov word [ecx + edx*2 - 2], si
pextrw ebx, xmm4, 7
test bl, 1
je 0x10143f1e
lea esi, [edx + 7]
mov word [ecx + edx*2], si
add edx, 8
movdqa xmm3, xmmword [str._b_b_b_b]
paddd xmm1, xmm3
paddd xmm2, xmm3
cmp eax, edx
jne 0x10143e3d
xor ebx, ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], ebx
pxor xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
lea edi, [eax + ebx*2]
mov dword [esp + 0x58], ebx
test bl, 1
jne 0x10143fba
xor esi, esi
inc esi
xor edx, edx
mov dword [esp + edx*8 + 0x94], edi
mov dword [esp + edx*8 + 0x90], esi
mov ebx, dword [esp + 0x58]
inc ebx
cmp ebx, dword [esp + 0x70]
jne 0x10143f87
jmp 0x1014411c
xor edx, edx
xor ebx, ebx
inc ebx
mov dword [esp + 0x30], edi
mov esi, dword [esp + edx*8 + 0x90]
mov dword [esp + 0x40], edx
mov edi, dword [esp + edx*8 + 0x94]
test esi, esi
setg dl
test ebx, ebx
setg dh
jg 0x10143ff6
mov eax, 0
mov dword [esp + 0x10], 0
test esi, esi
jle 0x10144103
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], 0
xor ebx, ebx
mov dword [esp + 0x18], 0
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
test dl, 1
je 0x101440aa
test dh, 1
je 0x10144040
movzx edx, word [edi + ebx*2]
mov edx, dword [ecx + edx*4]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
cmp edx, dword [ecx + eax*4]
jae 0x101440aa
lea edx, [edi + ebx*2]
inc ebx
movzx esi, word [edx]
mov edx, dword [ecx + esi*4]
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov word [ecx + eax], si
mov esi, dword [esp + 0x48]
cmp ebx, esi
jge 0x10144076
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + ebx*2]
xor ecx, ecx
cmp dword [edi + eax*4], edx
mov eax, dword [esp + 0x10]
sete cl
add ebx, ecx
cmp ebx, esi
setl dl
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x50]
setl dh
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jl 0x10144016
cmp ebx, esi
jl 0x10144016
jmp 0x101440bc
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
lea edx, [eax + esi*2]
inc esi
mov dword [esp + 0x18], esi
jmp 0x10144044
mov esi, dword [esp + 0x10]
cmp esi, 4
jne 0x101440ea
mov esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [edi], eax
mov edx, dword [esp + 0x40]
inc edx
mov eax, dword [esp + 0x58]
bt eax, edx
mov eax, esi
mov ebx, esi
jae 0x10143f9c
jmp 0x10143fbf
cmp esi, 8
mov edx, dword [esp + 0x40]
jne 0x10144103
mov esi, eax
mov eax, dword [esp + 0x20]
movq xmm0, qword [eax]
movq qword [edi], xmm0
jmp 0x101440d3
mov esi, eax
push dword [esp + 0x10]
push dword [esp + 0x24]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
jmp 0x101440cf
inc edx
cmp edx, 0xd
jae 0x10144294
mov ecx, esi
mov eax, dword [esp + 0x70]
bt eax, edx
jb 0x10144144
mov esi, ecx
mov ebx, edi
inc edx
mov edi, ebx
mov ecx, esi
cmp edx, 0xd
jne 0x10144128
jmp 0x10144294
mov esi, dword [esp + edx*8 + 0x90]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + edx*8 + 0x94]
test esi, esi
setg dl
test ecx, ecx
setg dh
jg 0x1014416a
test esi, esi
jle 0x10144280
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 0
xor ebx, ebx
mov dword [esp + 0x18], 0
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
test dl, 1
je 0x10144234
test dh, 1
je 0x101441c4
mov eax, dword [esp + 0x30]
movzx edx, word [eax + ebx*2]
mov edx, dword [ecx + edx*4]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
movzx edi, word [eax + esi*2]
cmp edx, dword [ecx + edi*4]
mov edi, dword [esp + 0x3c]
jae 0x10144234
mov eax, dword [esp + 0x30]
lea edx, [eax + ebx*2]
inc ebx
movzx edi, word [edx]
mov edx, dword [ecx + edi*4]
mov eax, ecx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov word [ecx + esi], di
mov ecx, esi
mov esi, dword [esp + 0x48]
cmp ebx, esi
jge 0x10144200
mov ecx, dword [esp + 0x30]
movzx edi, word [ecx + ebx*2]
xor ecx, ecx
cmp dword [eax + edi*4], edx
sete cl
add ebx, ecx
mov ecx, dword [esp + 0x10]
cmp ebx, esi
setl dl
add ecx, 2
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x50]
setl dh
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jl 0x10144192
cmp ebx, esi
jl 0x10144192
jmp 0x10144242
mov eax, dword [esp + 0x18]
lea edx, [edi + eax*2]
inc eax
mov dword [esp + 0x18], eax
jmp 0x101441cc
mov ecx, dword [esp + 0x10]
mov esi, eax
cmp ecx, 4
jne 0x10144262
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ebx, dword [esp + 0x30]
mov dword [ebx], eax
mov edx, dword [esp + 0x40]
jmp 0x10144135
cmp ecx, 8
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
jne 0x10144284
mov eax, dword [esp + 0x20]
movq xmm0, qword [eax]
movq qword [ebx], xmm0
jmp 0x10144135
xor esi, esi
xor ecx, ecx
push ecx
push dword [esp + 0x24]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10144259
mov edx, dword [esp + 0x38]
lea eax, [edx + edx*4]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov dword [ecx + eax*4 + 0x18], edi
mov dword [ecx + eax*4 + 0x14], esi
mov edi, dword [esp + 0x6c]
mov dword [ecx + eax*4 + 0xc], edi
mov edi, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x10], edi
cmp edx, dword [esp + 0x60]
lea edx, [edx + 1]
mov ecx, dword [esp + 0xc]
jne 0x10143d5f
mov bl, 1
xor edi, edi
cmp dword [esp + 0x20], 0
je 0x10144cd7
cmp dword [0x101f1020], 0
je 0x10144cb0
mov esi, dword [0x101f4170]
test esi, esi
je 0x1014430b
mov ecx, dword [0x101f1070]
cmp ecx, 0x10137970
jne 0x10144cc2
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101f104c]
call dword [section..00cfg]
mov esi, dword [esp + 0x20]
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 0x10144cd3
mov ecx, dword [0x101f1078]
cmp ecx, 0x10129ee0
jne 0x10144ce4
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
test bl, bl
mov ecx, dword [esp + 0xc]
je 0x10144c18
cmp byte [ecx + 0x2b], 0
jne 0x101443b0
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 3
push esi
call ecx
add esp, 0x10
mov edi, eax
cmp dword [esp + 0x24], 0
je 0x101443a4
cmp edi, 5
je 0x10144d7c
test edi, edi
mov ecx, dword [esp + 0xc]
jne 0x10144c2c
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x60]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x80], edx
mov ebx, dword [ebp + 0x14]
shr ebx, 2
and ebx, 3
mov edi, ecx
mov dword [esp + 0x48], ebx
je 0x101443f3
mov esi, dword [edi + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
test eax, eax
jne 0x10144c56
mov eax, dword [esp + 0x68]
mul dword [esp + 0x4c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push 0
push 0x27
push esi
call ecx
add esp, 0xc
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
lea eax, [esp + 0x80]
push eax
push esi
call ecx
add esp, 8
test eax, eax
jne 0x10144c73
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
cmp esi, ebx
mov eax, ecx
sbb eax, edi
jl 0x1014484b
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
test esi, esi
jle 0x101445ef
mov ecx, dword [esp + 0x4c]
or ecx, 0x18
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
xor edx, edx
dec edx
mov dword [esp + 0x30], esi
lea ecx, [esi - 1]
mov dword [esp + 0x3c], ecx
lea esi, [ecx + ecx*4]
mov edi, dword [eax + esi*4 + 8]
mov ecx, dword [eax + esi*4 + 0x14]
cmp edi, ecx
jge 0x10144513
mov dword [esp + 0x10], edx
lea edx, [eax + esi*4]
add edx, 8
mov dword [esp + 0x20], edx
mov ebx, dword [eax + esi*4 + 0xc]
mov eax, dword [eax + esi*4 + 0x10]
neg ecx
mov dword [esp + 0x50], ecx
inc edi
mov edx, ebx
movzx ebx, word [ebx + edi*2 - 2]
mov ecx, eax
mov eax, dword [eax + ebx*4]
cmp eax, dword [esp + 0x44]
ja 0x101444fd
mov eax, dword [esp + 0x20]
mov dword [eax], edi
mov eax, dword [esp + 0x50]
add eax, edi
inc eax
inc edi
cmp eax, 1
mov ebx, edx
mov eax, ecx
jne 0x101444cf
jmp 0x10144ad7
mov edx, dword [esp + 0x10]
cmp eax, edx
jae 0x10144513
mov ecx, dword [esp + 0x14]
add ebx, dword [ecx + esi*4 + 0x18]
mov dword [esp + 0x18], ebx
mov edx, eax
cmp dword [esp + 0x30], 1
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
jg 0x10144498
mov dword [eax], edx
cmp edx, 0xffffffff
je 0x101445f5
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x10144c61
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
jbe 0x101445e0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
ja 0x101445e0
cmp edx, dword [esp + 0x68]
ja 0x101445e0
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
dec eax
mul dword [esp + 0x58]
mov esi, edx
mov edi, eax
add edi, 0x38
adc esi, 0
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
push edi
mov esi, dword [esp + 0x54]
push esi
mov eax, dword [ebp + 0x1c]
push eax
push dword [esp + 0x54]
call ecx
add esp, 0x14
test eax, eax
jne 0x10144c7c
mov eax, dword [esp + 0x10]
dec eax
mul esi
mov dword [esp + 0x10], eax
mov edi, edx
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push edi
push dword [esp + 0x14]
push esi
push dword [ebp + 0x1c]
push ebx
call ecx
add esp, 0x14
test eax, eax
jne 0x10144c73
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
test esi, esi
jg 0x1014448f
mov dword [eax], 0xffffffff
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0xc]
mov esi, dword [ebx + 4]
mov eax, dword [esi]
test eax, eax
je 0x1014461d
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push 0
push 0x25
push esi
call ecx
add esp, 0xc
mov edi, dword [esp + 0x10]
test edi, edi
mov ecx, dword [esp + 0x1c]
jne 0x1014469c
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
cmp edx, dword [eax + 0x10]
jne 0x10144693
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
mul dword [ecx + 0x48]
mov esi, eax
mov edi, edx
mov ebx, dword [ecx + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push esi
push ebx
call ecx
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x48], 0
je 0x1014468b
test edi, edi
jne 0x1014468b
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push dword [esp + 0x48]
push esi
call ecx
add esp, 8
mov edi, eax
test edi, edi
mov ecx, dword [esp + 0x1c]
jne 0x1014469c
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x60], eax
xor edi, edi
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2b], 0
jne 0x101446c4
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 3
push esi
call ecx
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp edi, 5
mov eax, dword [esp + 0x14]
jne 0x101446d9
xor edi, edi
jmp 0x101446d9
xor edi, edi
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
je 0x101446e8
test edi, edi
je 0x10144902
test eax, eax
je 0x1014477d
mov ebx, edi
cmp dword [0x101f1020], 0
je 0x10144bc9
mov edi, eax
mov esi, dword [0x101f4170]
test esi, esi
je 0x10144724
mov ecx, dword [0x101f1070]
cmp ecx, 0x10137970
jne 0x10144be4
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101f104c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
sub dword [0x101f411c], eax
dec dword [0x101f4140]
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, dword [0x101f4170]
test esi, esi
je 0x10144bdd
mov ecx, dword [0x101f1078]
cmp ecx, 0x10129ee0
mov edi, ebx
jne 0x10144bf5
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
cmp edi, 5
mov dword [esp + 0x10], edi
je 0x1014478a
test edi, edi
jne 0x101447a0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
jne 0x101448e1
test eax, eax
jne 0x101448ef
cmp byte [esp + 0x54], 0
je 0x10144bad
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
mov edi, dword [esp + 0x10]
jne 0x101448a5
cmp byte [ecx + 0x2d], 0
je 0x101447d0
cmp byte [ecx + 0x2b], 0
je 0x1014482a
mov byte [ecx + 0x2d], 0
cmp dword [esp + 0x34], ebx
mov esi, 5
cmove esi, edi
test edi, edi
cmovne esi, edi
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
xor eax, eax
inc eax
push 0xa
push eax
push eax
push esi
call ecx
add esp, 0x10
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x10143b44
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ebx
jmp 0x101447b2
mov esi, dword [ecx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
xor eax, eax
inc eax
push 9
push eax
push eax
push esi
call ecx
mov ecx, dword [esp + 0x1c]
add esp, 0x10
jmp 0x101447cc
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mul dword [edx + 0x44]
add esi, eax
adc ecx, edx
add esi, 0x10000
adc ecx, 0
cmp esi, ebx
sbb ecx, edi
jl 0x10144cf5
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x1014446d
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
lea eax, [esp + 0x90]
push eax
push 5
push esi
call ecx
add esp, 0xc
jmp 0x1014446d
mov ecx, dword [esp + 0xc]
jmp 0x101442d0
cmp byte [ecx + 0x2b], 0
mov edi, ecx
jne 0x101448c7
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 0
push esi
call ecx
add esp, 0x10
xor eax, eax
mov byte [edi + 0x2c], al
mov dword [edi + 0x68], 0
mov byte [edi + 0x2f], al
mov ecx, edi
mov edi, dword [esp + 0x10]
jmp 0x101447c0
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x44]
mov dword [ecx], edx
jmp 0x10144798
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x60]
mov dword [eax], ecx
jmp 0x101447a0
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x60]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x44]
jb 0x10144dbf
xor edi, edi
cmp dword [esp + 0x34], 2
mov eax, dword [esp + 0x14]
jl 0x101446e8
lea eax, [esp + 0x90]
push eax
push 4
call sym.nss3.dll_sqlite3_randomness
add esp, 8
mov esi, 4
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2b], 0
jne 0x1014497f
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push esi
push esi
push edi
call ecx
add esp, 0x10
mov edi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10144973
cmp edi, 5
je 0x10144da7
test edi, edi
mov eax, dword [esp + 0xc]
jne 0x10144aca
cmp dword [esp + 0x34], 3
jne 0x10144ad3
mov esi, dword [esp + 0x90]
mov dword [esp + 0x18], esi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x38]
mov ecx, dword [edx]
mov dword [esp + 0x10], ecx
inc dword [eax + 0x70]
mov dword [eax + 0x44], 0
mov ecx, dword [eax + 0x54]
bswap ecx
inc ecx
bswap ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], esi
mov edi, dword [edx]
mov byte [eax + 0x40], 1
mov edx, 0x2de218
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x40]
add edx, ebx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
add ebx, eax
add ebx, 0x5bc430
mov eax, dword [esp + 0xc]
add edx, ebx
mov esi, 0x2de218
add edx, esi
add ebx, edx
add edx, dword [eax + 0x48]
add edx, ebx
add ebx, dword [eax + 0x4c]
add ebx, edx
add edx, dword [eax + 0x50]
add edx, ebx
add ebx, ecx
add ebx, edx
add edx, dword [esp + 0x18]
add edx, ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x60], edx
lea ebx, [eax + 0x34]
movups xmm0, xmmword [eax + 0x44]
movups xmmword [edi + 0x40], xmm0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [eax + 0x54]
movups xmmword [edi + 0x50], xmm0
cmp byte [eax + 0x2b], 2
je 0x10144a42
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push esi
call ecx
mov eax, dword [esp + 0x10]
add esp, 4
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [ebx]
movdqu xmm1, xmmword [ebx + 0x10]
movdqu xmmword [edi + 0x10], xmm1
movdqu xmmword [edi], xmm0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x60], 0
xor edi, edi
mov dword [ecx + 0x80], edi
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0xffffffff
mov dword [ecx + 0x70], 0xffffffff
mov dword [ecx + 0x74], 0xffffffff
mov esi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push edi
push esi
call ecx
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2b], 0
jne 0x10144aca
mov esi, dword [eax + 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
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x101446e8
xor edi, edi
jmp 0x10144aa7
mov edx, dword [esp + 0x10]
jmp 0x10144513
xor edi, edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], edi
pxor xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
xor edx, edx
inc edx
xor esi, esi
jmp 0x10144126
lea eax, [esp + 0x84]
push eax
call fcn.100121c0
add esp, 4
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x84]
test edi, edi
jne 0x10143d95
xor ecx, ecx
inc ecx
mov edi, eax
test eax, eax
cmove edi, ecx
xor ebx, ebx
jmp 0x101442db
mov esi, 8
jmp 0x101447e1
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov dword [esp + 0x54], 0
cmp dword [eax], 3
jl 0x10143b7b
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
xor eax, eax
push eax
push eax
mov dword [esp + 0x5c], 0
push eax
push esi
call ecx
add esp, 0x10
jmp 0x10143b7b
pxor xmm0, xmm0
mov ecx, dword [esp + 0xc]
movdqu xmmword [ecx + 0x54], xmm0
movdqu xmmword [ecx + 0x44], xmm0
movdqu xmmword [ecx + 0x34], xmm0
jmp 0x101447af
mov ecx, dword [0x101f1044]
mov esi, eax
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, ebx
jmp 0x1014477d
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10144724
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1014477d
mov dword [esp + 0x14], 0
jmp 0x101446c4
mov edi, 7
push dword [esp + 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x1c]
jmp 0x101446c4
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x38]
shl ecx, 0xc
add ecx, 0xffffffde
jmp 0x10143dc1
sub esi, dword [esp + 0x2c]
sar esi, 2
mov edi, esi
jmp 0x10143de1
mov dword [esp + 0x10], eax
mov ebx, edi
jmp 0x10144601
xor eax, eax
mov ecx, dword [esp + 0x64]
cmp byte [ecx + 0x57], 0
sete al
add eax, eax
add eax, 7
mov dword [esp + 0x10], eax
jmp 0x101445fd
mov dword [esp + 0x10], eax
jmp 0x10144601
push 0x101db30a
push 0x10769
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov dword [esp + 0x10], 0xb
jmp 0x101447a0
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push dword [esp + 0x20]
jmp 0x10144ceb
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1014430b
mov ecx, dword [esp + 0xc]
test bl, bl
jne 0x10144372
jmp 0x10144c18
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10144366
push 0x101db30a
push 0x1005a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov dword [esp + 0x10], 0xb
jmp 0x101445fd
mov dword [esp + 0x24], 0
mov edi, eax
cmp eax, 5
jne 0x1014477d
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
jmp 0x10143bf2
mov ecx, dword [esp + 0x24]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
jne 0x10143c04
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov edi, 5
jmp 0x10143bf2
mov ecx, dword [esp + 0x24]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov ecx, dword [esp + 0xc]
jne 0x10144372
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
jmp 0x101446cd
mov edi, ecx
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
jne 0x1014493e
mov edi, 5
jmp 0x10144aca
cmp byte [ecx + 0x2b], 0
jne 0x10144e03
mov esi, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 0
push esi
call ecx
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10144dfb
cmp edx, 5
je 0x10144e3e
test edx, edx
mov ecx, dword [esp + 0xc]
jne 0x10144e14
mov byte [ecx + 0x2c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ebx
jmp 0x10143b5f
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
cmp edx, 5
je 0x10143b5f
mov edi, edx
mov al, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ebx
jmp 0x10143b83
mov ecx, eax
call dword [section..00cfg]
push dword [ebp + 0x10]
call dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
jne 0x10144dc9
jmp 0x10143b5f