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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov dword [esp + 0x58], edx
mov eax, dword [0x101d2014]
xor eax, ebp
mov dword [esp + 0xe8], eax
mov dword [esp + 0x6c], 0
cmp byte [ecx + 0x2e], 0
jne 0x10027e9a
mov esi, dword [ebp + 8]
cmp byte [ecx + 0x2b], 0
mov dword [esp + 4], ecx
jne 0x10027077
mov edi, dword [ecx + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
xor eax, eax
inc eax
push 0xa
push eax
push eax
push edi
call ecx
add esp, 0x10
mov ecx, dword [esp + 4]
test eax, eax
jne 0x1002800c
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test esi, esi
mov byte [ecx + 0x2d], 1
jne 0x10028108
mov dword [esp + 8], eax
lea esi, [esp + 0x6c]
mov edx, esi
call fcn.10021ca0
cmp dword [esi], 0
mov edi, eax
jne 0x10027ea4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ebx
test edi, edi
mov dword [esp + 0x30], eax
jne 0x10027b07
movzx eax, word [ecx + 0x42]
mov edx, dword [ecx + 0x44]
mov ecx, eax
mov dword [esp + 0x24], edx
shl ecx, 0x10
or ecx, eax
and ecx, 0x1fe00
test edx, edx
je 0x100270df
cmp ecx, dword [ebp + 0x18]
jne 0x10027fc0
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x60]
cmp eax, dword [esp + 0x24]
jae 0x10027a44
mov eax, dword [ecx + 0x48]
xor esi, esi
xor edi, edi
inc esi
mov dword [esp + 0x5c], eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + esi*4 + 0x64]
cmp dword [esp + 0x24], ebx
ja 0x10027124
inc esi
cmp esi, 5
jne 0x1002710f
jmp 0x100271af
lea edx, [esi + 3]
mov dword [esp + 8], edx
cmp byte [eax + 0x2b], 0
jne 0x10027169
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 + 0x10]
push edi
call ecx
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x1002715d
cmp eax, 5
je 0x1002804a
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x10027fe8
cmp esi, 1
mov eax, 0xffffffff
cmove eax, dword [esp + 0x24]
xor edi, edi
mov dword [ecx + esi*4 + 0x64], eax
mov eax, dword [esp + 4]
cmp byte [eax + 0x2b], 0
jne 0x10027119
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push dword [esp + 0x10]
push ebx
call ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esp, 0x10
jmp 0x10027119
mov eax, dword [ecx + 0x60]
cmp eax, dword [esp + 0x24]
jae 0x10027f47
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x44]
call sym.nss3.dll_sqlite3_initialize
mov edi, 7
test eax, eax
jne 0x10027b07
lea ebx, [esi + 0x21]
mov dword [esp + 0x40], esi
xor edx, edx
mov dword [esp + 0x1c], 0
shr ebx, 0xc
lea eax, [ebx + ebx*4]
shl eax, 2
lea esi, [eax + esi*2 + 0x1c]
mov ecx, esi
call fcn.10002c70
test eax, eax
je 0x10027b07
mov dword [esp + 0x50], ebx
lea edi, [ebx + 1]
push esi
push 0
push eax
mov esi, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esi + 4], edi
call sym.nss3.dll_sqlite3_initialize
mov esi, dword [esp + 0x40]
test eax, eax
jne 0x10027249
mov ecx, 0x1000
cmp esi, ecx
cmovb ecx, esi
xor edx, edx
add ecx, ecx
call fcn.10002c70
mov dword [esp + 0x1c], eax
xor eax, eax
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x3c]
mov edi, 7
cmovne edi, eax
setne bl
add edx, 0x22
shr edx, 0xc
cmp edx, dword [esp + 0x50]
ja 0x10027f58
mov ecx, dword [esp + 4]
test bl, bl
je 0x10027649
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x18], edx
mov dword [esp + 0x3c], edx
jle 0x10027e62
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x20]
mov ebx, dword [eax + edx*4]
test ebx, ebx
mov dword [esp + 0x74], ebx
je 0x10027e62
test edx, edx
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + 0x4000]
mov dword [esp + 0x70], ecx
jne 0x10027f28
add ebx, 0x88
xor eax, eax
mov dword [esp + 0x74], ebx
mov edi, esi
mov esi, dword [esp + 0x3c]
sub ecx, ebx
mov dword [esp + 0x34], ebx
lea ebx, [eax + 1]
sar ecx, 2
sub edi, eax
mov dword [esp + 0x68], ebx
cmp esi, dword [esp + 0x50]
cmovne edi, ecx
mov ecx, dword [esp + 0x14]
test edi, edi
mov dword [esp + 0x64], edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], ebx
lea ecx, [ecx + ecx*4]
lea esi, [edx + ecx*4]
lea esi, [esi + eax*2]
mov dword [esp + 0x60], esi
jle 0x10027e09
add eax, eax
lea eax, [eax + ecx*4]
xor ecx, ecx
add eax, edx
mov word [eax + ecx*2], cx
inc ecx
cmp edi, ecx
jne 0x1002731b
xorps xmm0, xmm0
xor edx, edx
mov esi, edi
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe0], edx
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x60]
test dl, 1
mov dword [esp + 0x20], edx
lea ebx, [eax + edx*2]
jne 0x100273a0
xor edi, edi
mov eax, ebx
xor ecx, ecx
mov ebx, esi
inc edi
mov edx, dword [esp + 0x20]
mov esi, ebx
mov dword [esp + ecx*8 + 0x84], eax
mov dword [esp + ecx*8 + 0x80], edi
inc edx
cmp edx, ebx
jne 0x10027369
jmp 0x100274c7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x38], ebx
inc edx
mov esi, dword [esp + ecx*8 + 0x80]
mov eax, dword [esp + ecx*8 + 0x84]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
test esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 8], esi
setg al
test edx, edx
mov edx, dword [esp + 0x34]
setg ah
jg 0x100273eb
cmp dword [esp + 8], 0
mov ecx, 0
jle 0x10027491
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x38]
test al, 1
mov dword [esp + 0xc], ecx
je 0x1002742a
test ah, 1
je 0x10027420
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
movzx ecx, word [edi + ecx*2]
mov eax, dword [edx + eax*4]
cmp eax, dword [edx + ecx*4]
jae 0x1002742a
mov eax, dword [esp + 0x28]
lea eax, [eax + esi*2]
inc esi
jmp 0x10027436
mov ecx, dword [esp + 0x18]
lea eax, [edi + ecx*2]
inc ecx
mov dword [esp + 0x18], ecx
movzx ebx, word [eax]
mov edi, edx
mov ecx, dword [esp + 0xc]
cmp esi, dword [esp + 8]
mov eax, dword [edx + ebx*4]
mov edx, dword [esp + 0x1c]
mov word [edx + ecx*2], bx
jge 0x10027466
mov ecx, dword [esp + 0x28]
xor edx, edx
movzx ecx, word [ecx + esi*2]
cmp dword [edi + ecx*4], eax
mov ecx, dword [esp + 0xc]
sete dl
add esi, edx
inc ecx
cmp esi, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
setl al
cmp edx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
setl ah
jl 0x100273f7
cmp esi, dword [esp + 8]
jl 0x100273f7
lea eax, [ecx + ecx]
push eax
push dword [esp + 0x20]
mov esi, dword [esp + 0x30]
push esi
mov edi, ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, esi
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, edi
mov dword [esp + 0x38], esi
inc ecx
bt ebx, ecx
mov ebx, dword [esp + 0x64]
jae 0x10027382
jmp 0x100273a9
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0xc], edi
mov edi, esi
cmp ecx, 0xd
jb 0x100275fa
jmp 0x10027609
mov esi, dword [esp + ecx*8 + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + ecx*8 + 0x84]
mov dword [esp + 0x48], ecx
test esi, esi
mov dword [esp + 0x20], eax
setg al
cmp dword [esp + 0xc], 0
setg ah
jg 0x10027515
test esi, esi
jle 0x100275f0
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], 0
mov dword [esp + 0x38], esi
test al, 1
je 0x10027558
test ah, 1
je 0x1002754a
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
movzx eax, word [eax + ecx*2]
movzx edi, word [edi + edx*2]
mov eax, dword [esi + eax*4]
cmp eax, dword [esi + edi*4]
jae 0x10027558
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
lea eax, [eax + ecx*2]
inc ecx
jmp 0x10027564
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2]
inc edx
mov dword [esp + 0x18], edx
movzx edx, word [eax]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 8]
mov eax, dword [esi + edx*4]
mov word [ebx + edi*2], dx
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x1002759c
mov edi, dword [esp + 0x20]
xor ebx, ebx
movzx edi, word [edi + ecx*2]
cmp dword [esi + edi*4], eax
mov edi, dword [esp + 8]
sete bl
add ecx, ebx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
inc edi
cmp ecx, ebx
setl al
mov dword [esp + 8], edi
mov edi, dword [esp + 0x64]
cmp edx, dword [esp + 0xc]
setl ah
jl 0x10027525
cmp ecx, ebx
jl 0x10027525
mov ebx, dword [esp + 8]
lea eax, [ebx + ebx]
push eax
push dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, esi
jmp 0x10027603
mov dword [esp + 8], 0
jmp 0x100275c3
bt edi, ecx
jb 0x100274e4
inc ecx
cmp ecx, 0xd
jne 0x100275fa
mov esi, ebx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
xor edi, edi
lea eax, [ebx + ebx*4]
cmp ebx, dword [esp + 0x50]
mov dword [edx + eax*4 + 0x10], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + eax*4 + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + eax*4 + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + eax*4 + 8], ecx
mov ecx, dword [esp + 4]
lea eax, [ebx + 1]
mov bl, 1
mov edx, eax
jne 0x10027286
cmp dword [esp + 0x1c], 0
je 0x100276e3
cmp dword [0x101d2020], 0
je 0x10027f80
mov esi, dword [0x101d47e8]
test esi, esi
je 0x10027684
mov ecx, dword [0x101d2070]
cmp ecx, 0x10019bd0
jne 0x10027f9e
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101d204c]
call dword [section..00cfg]
mov esi, dword [esp + 0x1c]
push esi
call ecx
add esp, 4
mov ecx, dword [0x101d2044]
sub dword [0x101d4794], eax
dec dword [0x101d47b8]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x101d47e8]
mov ecx, dword [esp + 4]
test esi, esi
je 0x100276e3
mov ecx, dword [0x101d2078]
cmp ecx, 0x10019c10
jne 0x10027faf
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 4]
test bl, bl
je 0x10027f37
mov edi, dword [ebp + 0x14]
cmp byte [ecx + 0x2b], 0
jne 0x1002772d
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
cmp dword [esp + 0x30], 0
je 0x1002771e
cmp eax, 5
je 0x10028082
mov ecx, dword [esp + 4]
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x10028017
mov eax, dword [esp + 0x10]
shr edi, 2
mov ebx, ecx
and edi, 3
mov edx, dword [eax + 0x60]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], edx
mov dword [eax + 0x80], esi
mov dword [esp + 0x1c], edi
je 0x1002776d
mov esi, dword [ebx + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push edi
push esi
call ecx
add esp, 8
test eax, eax
jne 0x10027f61
mov eax, dword [esp + 0x5c]
mul dword [esp + 0x44]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov esi, dword [ebx + 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 [ebx + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
lea eax, [esp + 0x70]
push eax
push esi
call ecx
add esp, 8
test eax, eax
jne 0x10027e88
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
cmp esi, ebx
mov eax, ecx
sbb eax, edi
jl 0x10027b7b
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 4]
test esi, esi
jle 0x1002796a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], 0
or eax, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
xor edx, edx
dec edx
mov dword [esp + 0xc], eax
lea eax, [esi - 1]
mov dword [esp + 0x20], esi
lea edi, [eax + eax*4]
mov dword [esp + 0x28], eax
mov eax, ecx
mov ebx, dword [ecx + edi*4 + 8]
mov ecx, dword [ecx + edi*4 + 0x14]
cmp ebx, ecx
jge 0x10027df5
mov dword [esp + 8], edx
lea edx, [eax + edi*4 + 8]
mov esi, dword [eax + edi*4 + 0xc]
mov eax, dword [eax + edi*4 + 0x10]
neg ecx
inc ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, esi
movzx esi, word [esi + ebx*2 - 2]
mov ecx, eax
mov eax, dword [eax + esi*4]
cmp eax, dword [esp + 0xc]
ja 0x10027873
mov eax, dword [esp + 0x38]
mov esi, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
lea eax, [eax + ebx + 1]
inc ebx
cmp eax, 1
mov eax, ecx
jne 0x10027844
jmp 0x10027dfc
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
cmp eax, edx
jae 0x10027889
add esi, dword [ecx + edi*4 + 0x18]
mov edx, eax
mov dword [esp + 0x18], esi
cmp dword [esp + 0x20], 1
mov esi, dword [esp + 0x28]
jg 0x10027809
cmp edx, 0xffffffff
mov dword [ecx], edx
je 0x10027970
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x108]
test eax, eax
jne 0x10027f6a
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x54]
jbe 0x1002795b
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
ja 0x1002795b
cmp edx, dword [esp + 0x5c]
ja 0x1002795b
mov eax, dword [esp + 0x18]
mov dword [esp + 8], edx
mov esi, dword [esp + 4]
dec eax
mul dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esi + 8]
mov edi, edx
add ebx, 0x38
adc edi, 0
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
push ebx
mov edi, dword [esp + 0x4c]
push edi
mov eax, dword [ebp + 0x1c]
push eax
push dword [esp + 0x1c]
call ecx
add esp, 0x14
test eax, eax
jne 0x10027f63
mov ebx, dword [esi + 4]
mov eax, dword [esp + 8]
mov ecx, dword [ebx]
dec eax
mul edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ecx, dword [ecx + 0xc]
call dword [section..00cfg]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edi
push dword [ebp + 0x1c]
push ebx
call ecx
add esp, 0x14
test eax, eax
jne 0x10027e88
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 4]
test esi, esi
jg 0x10027800
mov dword [ecx], 0xffffffff
xor edi, edi
mov esi, dword [esp + 4]
mov esi, dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x10027992
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push 0
push 0x25
push esi
call ecx
add esp, 0xc
mov ecx, dword [esp + 0x10]
test edi, edi
jne 0x10027a11
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
cmp ecx, dword [eax + 0x10]
jne 0x10027a04
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov ebx, dword [ecx + 4]
mul dword [ecx + 0x48]
mov ecx, dword [ebx]
mov esi, eax
mov edi, edx
mov ecx, dword [ecx + 0x10]
call dword [section..00cfg]
push edi
push esi
push ebx
call ecx
add esp, 0xc
test eax, eax
jne 0x10027e8f
cmp dword [esp + 0x1c], 0
je 0x10027a04
mov eax, dword [esp + 4]
mov esi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push dword [esp + 0x1c]
push esi
call ecx
add esp, 8
test eax, eax
jne 0x10027e8f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 4]
cmp byte [eax + 0x2b], 0
jne 0x10027a39
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 + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp edi, 5
je 0x10027a4a
jmp 0x10027a4c
mov ecx, dword [esp + 0x10]
xor eax, eax
xor edi, edi
cmp dword [esp + 0x2c], 0
je 0x10027a5b
test edi, edi
je 0x10027c21
test eax, eax
je 0x10027ae8
cmp dword [0x101d2020], 0
je 0x10027efe
mov esi, dword [0x101d47e8]
mov ebx, eax
test esi, esi
je 0x10027a95
mov ecx, dword [0x101d2070]
cmp ecx, 0x10019bd0
jne 0x10027f17
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101d204c]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov ecx, dword [0x101d2044]
sub dword [0x101d4794], eax
dec dword [0x101d47b8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov esi, dword [0x101d47e8]
test esi, esi
je 0x10027ae8
mov ecx, dword [0x101d2078]
cmp ecx, 0x10019c10
jne 0x10027f06
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
cmp edi, 5
je 0x10027af1
test edi, edi
jne 0x10027b07
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
test ecx, ecx
jne 0x10027c00
test eax, eax
jne 0x10027c0e
cmp dword [esp + 0x6c], 0
jne 0x10027ecf
mov ebx, dword [esp + 4]
cmp byte [ebx + 0x2c], 0
jne 0x10027bcc
cmp byte [ebx + 0x2d], 0
je 0x10027b4f
cmp byte [ebx + 0x2b], 0
jne 0x10027b4b
mov esi, dword [ebx + 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 ebx, dword [esp + 0x14]
add esp, 0x10
mov byte [ebx + 0x2d], 0
mov eax, dword [esp + 0x2c]
test edi, edi
mov esi, 5
cmovne esi, edi
cmp eax, dword [ebp + 8]
cmove esi, edi
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
mul dword [edx + 0x44]
add esi, eax
adc ecx, edx
add esi, 0x10000
adc ecx, 0
cmp esi, ebx
sbb ecx, edi
jl 0x10028022
mov eax, dword [esp + 4]
mov esi, dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x100277de
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
lea eax, [esp + 0x80]
push eax
push 5
push esi
call ecx
add esp, 0xc
jmp 0x100277de
cmp byte [ebx + 0x2b], 0
jne 0x10027bec
mov esi, dword [ebx + 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 [ebx + 0x2c], al
mov dword [ebx + 0x68], 0
mov byte [ebx + 0x2f], al
jmp 0x10027b20
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x44]
mov dword [ecx], edx
jmp 0x10027aff
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x60]
mov dword [eax], ecx
jmp 0x10027b07
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x60]
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x44]
jb 0x100280d1
xor edi, edi
cmp dword [esp + 0x2c], 2
mov eax, dword [esp + 0x14]
jl 0x10027a5b
lea eax, [esp + 0x80]
push eax
push 4
call sym.nss3.dll_sqlite3_randomness
add esp, 8
mov esi, 4
mov eax, dword [esp + 4]
cmp byte [eax + 0x2b], 0
jne 0x10027c9e
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 ecx, dword [esp + 0x30]
mov edi, eax
test ecx, ecx
je 0x10027c92
cmp edi, 5
je 0x100280b9
mov eax, dword [esp + 4]
test edi, edi
jne 0x10027dec
cmp dword [esp + 0x2c], 3
jne 0x100280b0
mov ecx, dword [eax + 0x20]
mov esi, eax
mov ebx, dword [esp + 0x80]
mov eax, dword [eax + 0x54]
lea edi, [esi + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
inc dword [esi + 0x70]
mov dword [esi + 0x44], 0
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
inc eax
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov ecx, dword [esp + 8]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esp + 0xc], ebx
lea edx, [esi + 0x5c]
lea ebx, [esi + 0x3c]
cmp ebx, edx
mov ecx, dword [ecx]
mov byte [esi + 0x40], 1
mov dword [esp + 8], ecx
mov ecx, 0x2de218
mov dword [esi + 0x34], ecx
mov ebx, dword [esi + 0x38]
lea edx, [ebx + ecx]
jae 0x10027d3c
mov ecx, dword [edi + 8]
add edx, dword [edi + 0xc]
lea ecx, [ebx + ecx + 0x5bc430]
add edx, ecx
add ecx, edx
add edx, dword [edi + 0x14]
add edx, ecx
add ecx, dword [edi + 0x18]
add ecx, edx
add edx, dword [edi + 0x1c]
add edx, ecx
add ecx, eax
add ecx, edx
add edx, dword [esp + 0xc]
add edx, ecx
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
add eax, 0x30
push 0x30
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esi + 0x2b], 2
je 0x10027d73
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
push 0x30
push edi
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [eax + 0x60], 0
mov dword [eax + 0x80], edi
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0xffffffff
mov dword [eax + 0x70], 0xffffffff
mov dword [eax + 0x74], 0xffffffff
mov ebx, dword [esi + 8]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push edi
push ebx
call ecx
add esp, 0xc
mov edi, eax
cmp byte [esi + 0x2b], 0
jne 0x10027dec
mov esi, dword [esi + 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 0x10027a5b
mov ecx, eax
jmp 0x10027889
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x10027889
mov ebx, dword [esp + 0x40]
xorps xmm0, xmm0
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
inc ecx
xor eax, eax
jmp 0x100275fa
lea eax, [esp + 0x74]
push eax
call fcn.100228e0
add esp, 4
test eax, eax
jne 0x10027f54
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x100272ad
mov edi, eax
jmp 0x10027972
mov ecx, dword [esp + 0x10]
mov edi, eax
jmp 0x10027a11
mov esi, 8
jmp 0x10027b63
mov eax, dword [esp + 4]
mov esi, dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax], 3
jl 0x100270a2
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
xor eax, eax
push eax
push eax
push eax
push esi
call ecx
add esp, 0x10
jmp 0x100270a2
mov ecx, dword [esp + 4]
xor eax, eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x5c], eax
jmp 0x10027b12
mov ecx, dword [0x101d2044]
mov esi, eax
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10027ae8
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10027a95
mov eax, dword [esp + 0x3c]
shl eax, 0xc
add eax, 0xffffffde
jmp 0x100272cf
push dword [esp + 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jmp 0x10027a39
mov edi, eax
xor ebx, ebx
mov ecx, dword [esp + 4]
jmp 0x10027649
mov esi, ebx
mov edi, eax
jmp 0x10027976
mov ecx, dword [esp + 0x58]
xor eax, eax
cmp byte [ecx + 0x51], 0
sete al
lea edi, [eax + eax + 7]
jmp 0x10027972
mov ecx, dword [0x101d2044]
call dword [section..00cfg]
push dword [esp + 0x1c]
call ecx
mov ecx, dword [esp + 8]
add esp, 4
jmp 0x100276e3
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10027684
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x100276df
push 0x101b128f
push 0xf7d1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov edi, 0xb
jmp 0x10027b07
mov edi, eax
cmp eax, 5
mov dword [esp + 0x30], 0
jne 0x10027ae8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
jmp 0x10027119
mov edi, eax
mov dword [esp + 0x2c], esi
jmp 0x10027b07
mov ecx, dword [esp + 0x10]
mov edi, eax
jmp 0x10027a39
push 0x101b128f
push 0xf0c7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov edi, 0xb
jmp 0x10027972
mov ecx, dword [esp + 0x30]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
jne 0x1002712b
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], 0
mov edi, 5
jmp 0x10027119
mov ecx, dword [esp + 0x30]
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
mov ecx, dword [esp + 4]
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x100276ee
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x10027a4a
xor edi, edi
mov esi, eax
jmp 0x10027dc9
mov edi, ecx
call dword [section..00cfg]
push dword [ebp + 0x10]
call ecx
add esp, 4
test eax, eax
jne 0x10027c5d
mov edi, 5
jmp 0x10027dec
mov ecx, eax
call dword [section..00cfg]
push dword [ebp + 0x10]
call dword [ebp + 0xc]
add esp, 4
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 4]
mov ebx, 0
mov dword [esp + 8], 0
je 0x1002708c
cmp byte [ecx + 0x2b], 0
mov ebx, dword [ebp + 8]
jne 0x10028141
mov esi, dword [ecx + 4]
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 edi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10028139
cmp edi, 5
je 0x100280db
mov ecx, dword [esp + 4]
test edi, edi
jne 0x1002814a
mov byte [ecx + 0x2c], 1
jmp 0x10027088
mov eax, ebx
cmp edi, 5
mov ebx, 0
mov dword [esp + 8], 0
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
je 0x1002708c
jmp 0x100270ae