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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov dword [esp + 0x1c], ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0x138], eax
mov ecx, dword [edx]
mov dword [esp + 0x34], 0x1000a490
cmp word [ecx + 8], 0xd
mov dword [esp + 0x18], edx
ja 0x1013e1cd
mov eax, dword [edx + 4]
movzx edi, word [eax + 0x10]
mov esi, dword [ecx + 0x10]
mov bl, byte [esi]
test bl, bl
jne 0x1013f5c6
mov bl, 1
mov bh, 0xff
mov edx, dword [esp + 0x18]
mov byte [edx + 0x18], bh
mov byte [edx + 0x19], bl
mov ebx, edi
test bl, 4
je 0x1013e1a2
movsd xmm0, qword [eax]
movsd qword [edx + 8], xmm0
mov dword [esp + 0x34], 0x1001e310
mov al, 1
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x17]
mov dword [esp + 0x30], eax
mov byte [edx + 0x17], 0
mov ebx, dword [esp + 0x1c]
cmp byte [ebx], 0
je 0x1013dfe5
cmp byte [ebx + 0x44], 0
jns 0x1013dfb0
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x1013e43c
mov al, byte [ebx]
cmp al, 3
jae 0x1013eadb
movzx eax, byte [ebx + 2]
lea esi, [ebx + 0x74]
mov ecx, dword [ebx + 0x14]
push eax
push esi
call fcn.10140270
add esp, 8
test eax, eax
jne 0x1013f9f0
mov byte [ebx + 0x44], 0
mov ecx, dword [ebx + 0x74]
mov al, byte [ecx + 1]
mov byte [ebx + 0x45], al
cmp byte [ecx], 0
mov ebx, dword [esp + 0x1c]
je 0x1013f3cf
cmp dword [ebx + 0x70], 0
sete al
cmp byte [ecx + 1], al
jne 0x1013f3cf
xor eax, eax
mov word [ebx + 0x46], ax
mov word [ebx + 0x32], ax
and byte [ebx + 1], 0xf1
mov dword [esp + 0x2c], ecx
cmp word [ecx + 0x18], ax
je 0x1013e42e
mov byte [ebx], 0
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 0x18]
movzx eax, ax
dec eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], 0
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
movzx edx, word [esi + 0x1a]
and eax, 0xfffffffe
movzx eax, word [ecx + eax]
rol ax, 8
and eax, edx
movzx ecx, byte [edi + eax]
lea edx, [edi + eax]
inc edx
mov dword [esp], ecx
cmp cl, byte [esi + 0xb]
jbe 0x1013d2cf
add edi, eax
movzx eax, byte [edx]
test al, al
js 0x1013d8b3
mov ecx, dword [esp]
and ecx, 0x7f
shl ecx, 7
add ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 0xe]
mov dword [esp], ecx
cmp ecx, eax
ja 0x1013d8b3
add edi, 2
cmp byte [esp + 0x3c], 0
je 0x1013ee4f
movzx eax, byte [edi]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
movzx ecx, byte [edi + 1]
xor esi, esi
cmp ecx, 9
jne 0x1013d4a3
mov edx, 1
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
cmp edx, ebx
mov eax, esi
sbb eax, edi
jl 0x1013e082
cmp ebx, edx
sbb edi, esi
jl 0x1013de97
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
cmp ax, 2
jb 0x1013e6c0
movzx edi, byte [ecx + 0x101b0576]
add edi, dword [esp + 8]
cmp edi, dword [esp]
ja 0x1013ed8f
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
add esi, 0x28
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], 2
movzx ecx, word [esi + 0x10]
test cl, 0x24
jne 0x1013db98
test cl, 8
jne 0x1013ed9b
test cl, 2
jne 0x1013e48a
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
movzx edx, byte [eax + edx]
test cl, 0x10
je 0x1013e50e
mov ebx, edx
test dl, dl
jns 0x1013d286
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add ecx, eax
movzx eax, byte [ecx + 1]
test al, al
js 0x1013eab7
mov ecx, ebx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov edx, 0xffffffff
cmp ecx, 0xc
mov dword [esp + 4], ecx
jb 0x1013d292
mov eax, ecx
and eax, 1
jne 0x1013d292
lea eax, [ecx - 0xc]
mov edx, eax
shr edx, 1
lea ecx, [edx + edi]
cmp ecx, dword [esp]
ja 0x1013ed83
test byte [esi + 0x11], 4
jne 0x1013ee3d
mov eax, dword [esi + 0xc]
mov ebx, edx
sub ebx, eax
cmovl eax, edx
mov ecx, dword [esp + 0xc]
add ecx, edi
push eax
push dword [esi + 8]
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
cmovne ebx, eax
test ebx, ebx
jne 0x1013d290
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
mov ebx, dword [esp + 0x28]
inc ebx
movzx ecx, ax
mov edx, ebx
mov dword [esp + 0x28], ebx
cmp ebx, ecx
je 0x1013de0e
add esi, 0x28
cmp dword [esp + 4], 0x80
jae 0x1013eb8b
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + 0x101b0576]
add edi, ecx
cmp edi, dword [esp]
ja 0x1013de0e
xor ecx, ecx
inc ecx
mov edx, dword [esp + 4]
cmp edx, 0x80
jae 0x1013eb99
mov edx, dword [esp + 0x14]
add edx, ecx
mov ecx, edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 8]
jb 0x1013d151
jmp 0x1013ed4b
mov ecx, ebx
jmp 0x1013d1af
mov edx, ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
movzx eax, byte [eax + ecx]
test al, al
jne 0x1013eee5
test edx, edx
jns 0x1013db80
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jg 0x1013dc00
mov dword [esp + 0x64], eax
add eax, ecx
jmp 0x1013d062
mov dword [esp + 0xc], edx
cmp byte [esp + 0x3c], 0
je 0x1013e0c2
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax]
mov dword [esp + 0x28], ecx
movzx ecx, byte [eax + 1]
xor edi, edi
cmp ecx, 9
jne 0x1013ddc4
xor edx, edx
inc edx
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp edx, ebx
mov eax, edi
sbb eax, esi
jl 0x1013e082
cmp ebx, edx
sbb esi, edi
jl 0x1013de97
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
cmp ax, 2
jb 0x1013e6c0
movzx edx, byte [ecx + 0x101b0576]
add edx, dword [esp + 0x28]
cmp edx, dword [esp]
ja 0x1013ed8f
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 4]
add ebx, 0x28
mov esi, 2
xor edi, edi
inc edi
mov dword [esp + 0x14], ebx
movzx ecx, word [ebx + 0x10]
test cl, 0x24
mov dword [esp + 0x10], esi
mov dword [esp + 4], edx
jne 0x1013de32
test cl, 8
jne 0x1013efd6
test cl, 2
jne 0x1013e60e
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + esi]
test cl, 0x10
je 0x1013e694
mov ecx, eax
test al, al
jns 0x1013d3af
mov eax, dword [esp + 0xc]
add esi, eax
movzx eax, byte [esi + 1]
test al, al
js 0x1013ebde
and ecx, 0x7f
shl ecx, 7
or ecx, eax
cmp ecx, 0xc
mov dword [esp + 8], ecx
jb 0x1013e8a4
mov eax, ecx
and eax, 1
jne 0x1013e8a4
lea eax, [ecx - 0xc]
mov ecx, eax
shr ecx, 1
mov ebx, ecx
add ecx, edx
cmp ecx, dword [esp]
ja 0x1013ed83
mov esi, edi
mov edi, dword [esp + 0x14]
test byte [edi + 0x11], 4
jne 0x1013f073
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ebx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0xc]
add ecx, edx
push eax
push dword [edi + 8]
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
cmovne ebx, eax
mov edi, esi
test ebx, ebx
jne 0x1013d488
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
inc edi
movzx ecx, ax
cmp edi, ecx
mov edx, dword [esp + 4]
je 0x1013de0e
add dword [esp + 0x14], 0x28
cmp dword [esp + 8], 0x80
jae 0x1013ec30
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 0x101b0576]
add edx, ecx
cmp edx, dword [esp]
ja 0x1013de0e
mov esi, edi
xor ecx, ecx
inc ecx
mov ebx, dword [esp + 8]
cmp ebx, 0x80
jae 0x1013ec3e
mov ebx, dword [esp + 0x10]
add ebx, ecx
cmp ebx, dword [esp + 0x28]
jae 0x1013ed4b
mov ecx, ebx
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x14]
jmp 0x1013d353
mov edx, ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov al, byte [eax + edi]
test al, al
je 0x1013d2ab
jmp 0x1013f299
jae 0x1013e6f3
mov edi, dword [esp + 8]
and edi, 0x3f
xor edx, edx
jmp dword [ecx*4 + 0x101b6bd4]
mov esi, dword [ebx]
cmp esi, 2
jl 0x1013ef00
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x14]
mov eax, esi
xor edx, edx
div dword [ecx + 0x28]
cmp eax, dword [ecx + 0x30]
ja 0x1013ef00
mov eax, esi
add eax, 0x80000112
mov ecx, 0
adc ecx, 0xffffffff
cmp eax, 0x80000101
sbb ecx, 0xffffffff
jb 0x1013ed3d
mov dword [esp + 0xc], esi
lea edi, [esi + 0x12]
cmp dword [0x101ef020], 0
je 0x1013f6d8
mov esi, dword [0x101f2140]
test esi, esi
je 0x1013d541
mov ecx, dword [0x101ef070]
cmp ecx, 0x10137ef0
jne 0x1013f731
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101ef050]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, eax
cmp dword [0x101f2128], edi
jb 0x1013eaac
mov eax, dword [0x101f214c]
mov ecx, dword [0x101f2148]
cmp ecx, 1
mov edx, eax
sbb edx, 0
jge 0x1013f6f8
mov ecx, dword [0x101ef040]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
test eax, eax
je 0x1013f6f1
mov edi, eax
mov ecx, dword [0x101ef04c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
add eax, dword [0x101f20ec]
mov dword [0x101f20ec], eax
cmp eax, dword [0x101f2114]
ja 0x1013e418
mov eax, dword [0x101f2110]
inc eax
mov dword [0x101f2110], eax
cmp eax, dword [0x101f2138]
ja 0x1013e40e
mov esi, dword [0x101f2140]
test esi, esi
je 0x1013d5f9
mov ecx, dword [0x101ef078]
cmp ecx, 0x10137ee0
jne 0x1013f742
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], edi
test edi, edi
mov ebx, dword [esp + 0x1c]
mov esi, 7
je 0x1013df92
mov eax, dword [esp + 0x38]
mov word [ebx + 0x46], ax
mov edi, dword [ebx + 0x74]
cmp word [edi + 0x18], ax
jbe 0x1013ef9b
mov esi, dword [ebx + 0x14]
mov ecx, ebx
call fcn.10137730
mov ecx, dword [ebx + 0x28]
mov dword [esp], ecx
sub ecx, dword [edi + 0x38]
mov dword [esp + 0x28], esi
mov eax, dword [esi + 0x28]
movzx esi, word [ebx + 0x30]
mov edx, eax
sub edx, esi
cmp ecx, edx
ja 0x1013ef35
test esi, esi
mov edi, dword [esp + 0x14]
je 0x1013f720
mov ebx, dword [esp + 0xc]
cmp ebx, esi
cmovb esi, ebx
push esi
push dword [esp + 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, ebx
sub edx, esi
je 0x1013e555
add esi, edi
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x28]
mov ebx, dword [esp + 0x1c]
movzx ecx, word [ebx + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
lea esi, [eax - 4]
movzx ecx, cx
mov edx, dword [esp]
mov edx, dword [edx + ecx]
mov dword [esp + 0x10], edx
bswap edx
mov dword [esp], edx
mov dword [esp + 0x100], edx
test byte [ebx + 1], 4
mov dword [esp + 0x24], esi
jne 0x1013f848
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x2c]
sub eax, ecx
add eax, edx
add eax, 0xfffffffb
xor ecx, ecx
xor edx, edx
div esi
test edi, edi
je 0x1013e056
lea esi, [eax*4]
mov ecx, dword [0x101ef04c]
mov dword [esp + 0x20], eax
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebx + 0xc]
cmp esi, eax
mov eax, dword [esp + 0x20]
jg 0x1013e056
cmp esi, 4
jne 0x1013e5fd
mov dword [ecx], 0
mov edi, dword [esp + 8]
mov ebx, dword [esp]
mov eax, dword [esp + 0x1c]
or byte [eax + 1], 4
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x10], 0
je 0x1013ef41
xor ecx, ecx
mov eax, dword [esp + 0x28]
cmp ebx, dword [eax + 0x30]
ja 0x1013eef4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], ecx
mov dword [eax + ecx*4], ebx
test esi, esi
mov dword [esp + 8], edi
mov dword [esp], ebx
je 0x1013f5e5
cmp edx, esi
cmovb esi, edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax + 0xdc]
cmp ecx, fcn.10143780
mov dword [esp + 4], edx
jne 0x1013f619
mov dword [esp + 0x10], eax
mov esi, dword [eax + 0xe4]
movzx ebx, byte [esi + 0x29]
mov dword [esp + 0x40], ebx
and ebx, 3
mov ecx, dword [0x101ef0a0]
mov edi, dword [esi + 0x34]
cmp ecx, 0x1000f4b0
jne 0x1013f64d
mov ecx, dword [edi + 0x38]
mov eax, dword [esp]
xor edx, edx
div dword [edi + 0x34]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1013e1da
mov ecx, dword [esp]
cmp dword [eax + 8], ecx
je 0x1013d7d3
mov eax, dword [eax + 0x10]
jmp 0x1013d7be
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1013d892
mov ebx, dword [esp]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xe4]
mov edi, dword [eax + 4]
cmp dword [edi], 0
je 0x1013e386
add dword [ecx + 0x10], 1
adc dword [ecx + 0x14], 0
add dword [edi + 0x20], 1
adc dword [edi + 0x24], 0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x130], edi
cmp dword [edi + 0x14], 0
mov eax, dword [esp + 0x10]
je 0x1013e33e
inc dword [eax + 0xc8]
mov eax, dword [esp + 0x130]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
bswap ecx
mov dword [esp + 0x100], ecx
add eax, 4
push dword [esp + 0x20]
push eax
mov edi, dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x130]
mov dword [esp], 0
test ecx, ecx
je 0x1013d871
test byte [ecx + 0x1c], 0x20
jne 0x1013f663
call fcn.10140100
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x20]
cmp edx, ebx
mov eax, ebx
mov ecx, 0
cmove eax, ecx
sub edx, ebx
je 0x1013d934
jmp 0x1013e527
mov edx, dword [eax + 0x1c]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x18], 0
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x2c]
jmp 0x1013d7de
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 0x20]
mov eax, dword [esp + 0x2c]
movzx edx, byte [eax + 0xa]
mov esi, edi
sub esi, edx
mov ecx, dword [eax + 0x50]
cmp ecx, 0x10007630
jne 0x1013f6c2
mov dword [esp], ebx
movzx eax, byte [esi + edx]
test al, al
jns 0x1013dea4
and eax, 0x7f
xor ecx, ecx
mov edx, eax
shl edx, 7
movzx ebx, byte [edi + ecx + 1]
mov eax, ebx
and eax, 0x7f
or eax, edx
lea edx, [ecx + 1]
test bl, bl
jns 0x1013d908
cmp ecx, 7
mov ecx, edx
jb 0x1013d8e9
add edi, edx
inc edi
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], 0
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], edi
mov ecx, dword [esp + 0x2c]
movzx ebx, word [ecx + 0xe]
cmp eax, ebx
jbe 0x1013ddec
jmp 0x1013de1f
xorpd xmm0, xmm0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
movupd xmmword [edi + ecx], xmm0
mov word [edi + ecx + 0x10], 0
mov eax, dword [esp + 0x1c]
and byte [eax + 1], 0xfb
mov esi, dword [esp]
test esi, esi
jne 0x1013ef89
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
movzx ebx, byte [edi]
mov dword [esp + 0x12c], ebx
xor esi, esi
inc esi
test bl, bl
js 0x1013f771
cmp ebx, ecx
ja 0x1013f753
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
movzx eax, word [edx + 0x10]
test al, 0x24
mov dword [esp + 8], edx
mov dword [esp + 0x20], esi
jne 0x1013e0e4
test al, 8
jne 0x1013f49a
test al, 2
jne 0x1013e7a9
movzx ebx, byte [edi + esi]
test al, 0x10
je 0x1013e83d
test bl, bl
jns 0x1013d9db
lea ecx, [edi + esi]
movzx eax, byte [ecx + 1]
test al, al
js 0x1013eca1
and ebx, 0x7f
shl ebx, 7
or ebx, eax
cmp ebx, 0xc
jb 0x1013e9b9
mov eax, ebx
and eax, 1
jne 0x1013fe35
mov dword [esp + 4], ebx
lea eax, [ebx - 0xc]
mov ecx, eax
shr ecx, 1
mov ebx, ecx
mov edi, dword [esp]
add ecx, edi
cmp ecx, dword [esp + 0xc]
ja 0x1013f818
test byte [edx + 0x11], 4
jne 0x1013f542
mov eax, dword [edx + 0xc]
mov edi, ebx
sub edi, eax
cmovl eax, ebx
mov esi, dword [esp + 0x14]
mov ecx, dword [esp]
add ecx, esi
push eax
push dword [edx + 8]
push ecx
call sub.VCRUNTIME140.dll_memcmp
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
cmovne edi, eax
mov ebx, edi
mov edi, esi
mov dword [esp + 0x10], ebx
test ebx, ebx
mov ebx, dword [esp + 4]
jne 0x1013dad3
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x24]
je 0x1013f531
add edx, 0x28
cmp ebx, 0x80
jae 0x1013eccd
mov esi, edi
mov dword [esp + 4], ebx
movzx eax, byte [ebx + 0x101b0576]
mov edi, dword [esp]
add edi, eax
mov eax, edi
mov dword [esp], edi
cmp edi, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov edi, esi
mov esi, dword [esp + 0x20]
ja 0x1013f531
mov dword [esp + 8], edx
xor edx, edx
inc edx
cmp ebx, 0x80
jae 0x1013ecdd
add esi, edx
cmp esi, ecx
jae 0x1013f46e
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x28]
jmp 0x1013d98c
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
mov al, byte [eax + ecx]
test al, al
jne 0x1013f86e
mov ebx, dword [esp + 0x10]
cmp dword [0x101ef020], 0
je 0x1013f762
mov esi, dword [0x101f2140]
test esi, esi
je 0x1013db1f
mov ecx, dword [0x101ef070]
cmp ecx, 0x10137ef0
jne 0x1013f798
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101ef04c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
sub dword [0x101f20ec], eax
dec dword [0x101f2110]
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, dword [0x101f2140]
test esi, esi
je 0x1013db72
mov ecx, dword [0x101ef078]
cmp ecx, 0x10137ee0
jne 0x1013f7a9
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edx, ebx
test edx, edx
js 0x1013d2b3
nop dword [eax]
je 0x1013e08f
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
jmp 0x1013d2b8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
movzx edx, byte [ecx + edx]
cmp edx, 0xa
jae 0x1013eea2
test edx, edx
mov dword [esp + 4], edx
je 0x1013e763
cmp edx, 7
je 0x1013f885
lea ecx, [edx - 1]
cmp ecx, 5
ja 0x1013ddb0
jmp 0x1013e300
mov ecx, dword [esi]
mov edx, esi
mov ebx, dword [esi + 4]
cmp dword [esp + 0x20], ecx
mov esi, dword [esp + 0x10]
sbb esi, ebx
jl 0x1013e422
cmp ecx, dword [esp + 0x20]
sbb ebx, dword [esp + 0x10]
jl 0x1013e59a
mov esi, edx
jmp 0x1013d21b
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 8], 0
jne 0x1013df7f
mov esi, eax
movzx eax, word [ecx + 0x18]
cmp esi, eax
jge 0x1013dda4
mov eax, dword [ecx + 0x40]
movzx eax, word [eax + esi*2]
rol ax, 8
and ax, word [ecx + 0x1a]
movzx eax, ax
mov ecx, dword [ecx + 0x38]
mov edi, dword [ecx + eax]
mov ebx, dword [esp + 0x1c]
mov word [ebx + 0x46], si
movsx eax, byte [ebx + 0x44]
cmp eax, 0x13
jge 0x1013f1a2
xor edx, edx
mov word [ebx + 0x32], dx
and byte [ebx + 1], 0xf9
mov word [ebx + eax*2 + 0x48], si
mov eax, dword [ebx + 0x74]
movsx ecx, byte [ebx + 0x44]
mov dword [ebx + ecx*4 + 0x78], eax
mov esi, edi
mov word [ebx + 0x46], dx
inc byte [ebx + 0x44]
bswap esi
mov eax, dword [ebx + 0x14]
cmp dword [eax + 0x30], esi
jb 0x1013f1d6
movzx ecx, byte [ebx + 2]
mov dword [esp + 0x2c], ecx
mov ebx, dword [eax]
mov ecx, dword [ebx + 0xdc]
cmp ecx, fcn.10143780
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], eax
jne 0x1013f162
test edi, edi
je 0x1013f1ca
mov dword [esp], ebx
mov eax, dword [ebx + 0xe4]
movzx ebx, byte [eax + 0x29]
mov dword [esp + 0x38], ebx
and ebx, 3
mov ecx, dword [0x101ef0a0]
mov dword [esp + 0xc], eax
mov edi, dword [eax + 0x34]
cmp ecx, 0x1000f4b0
jne 0x1013f18f
mov ecx, dword [edi + 0x38]
mov eax, esi
xor edx, edx
div dword [edi + 0x34]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1013dead
cmp dword [eax + 8], esi
je 0x1013dcf2
mov eax, dword [eax + 0x10]
jmp 0x1013dce0
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1013dd83
mov ebx, dword [esp]
mov ecx, dword [ebx + 0xe4]
mov edi, dword [eax + 4]
cmp dword [edi], 0
je 0x1013e190
add dword [ecx + 0x10], 1
adc dword [ecx + 0x14], 0
add dword [edi + 0x20], 1
adc dword [edi + 0x24], 0
mov dword [esp + 0x100], edi
mov ecx, dword [esp + 0x2c]
test cl, 1
jne 0x1013e147
cmp dword [edi + 0x14], 0
je 0x1013e147
inc dword [ebx + 0xc8]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x74], ecx
mov dword [esp + 0x2c], ecx
cmp byte [ecx], 0
je 0x1013e2a1
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + 0x18]
test ax, ax
je 0x1013ee63
mov cl, byte [ecx + 1]
mov edx, dword [esp + 0x1c]
cmp cl, byte [edx + 0x45]
je 0x1013d052
jmp 0x1013ee63
mov edx, dword [eax + 0x1c]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x18], 0
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x2c]
jmp 0x1013dcfd
movzx eax, byte [ecx + 9]
add eax, 8
jmp 0x1013dc2e
lea ecx, [edx - 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
jmp 0x1013dbd3
jae 0x1013e6f3
mov esi, dword [esp + 0x28]
and esi, 0x3f
xor edx, edx
jmp dword [ecx*4 + 0x101b6b98]
sub edi, esi
add edi, eax
test edi, 0xfffc
mov ecx, 4
cmove edi, ecx
mov word [edx + 0x32], di
mov word [edx + 0x30], ax
mov ebx, dword [esp]
jmp 0x1013d4cb
mov eax, dword [esp + 0x18]
mov byte [eax + 0x1a], 1
movsx edx, byte [eax + 0x16]
jmp 0x1013d2ab
mov edx, esi
mov ebx, dword [esp]
push ebx
call fcn.10140210
add esp, 4
jmp 0x1013d4cb
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + esi]
cmp ecx, 0xa
jae 0x1013f21a
test ecx, ecx
mov dword [esp + 8], ecx
je 0x1013e8a4
cmp ecx, 7
je 0x1013fbcc
mov dword [esp + 0x20], edi
lea ebx, [ecx - 1]
cmp ebx, 5
jbe 0x1013e44f
lea edi, [ecx - 8]
xor esi, esi
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov edx, edi
cmp edi, ecx
mov edi, esi
sbb edi, ebx
jl 0x1013f3bb
cmp ecx, edx
sbb ebx, esi
jl 0x1013e747
mov edi, dword [esp + 0x20]
jmp 0x1013d41b
mov eax, dword [esp + 0x18]
movsx edx, byte [eax + 0x19]
jmp 0x1013d2ab
add edx, esi
mov edi, edx
jmp 0x1013d90a
test bl, bl
je 0x1013deda
mov ecx, edi
mov edx, esi
push ebx
call fcn.1000a100
add esp, 4
test eax, eax
mov ebx, dword [esp]
jne 0x1013dd00
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0xc], eax
mov al, byte [eax + 0x29]
mov dword [esp + 0x38], eax
mov ecx, 7
cmp byte [esp + 0x38], 2
mov ebx, dword [esp]
mov eax, dword [esp + 0xc]
je 0x1013f59e
mov ecx, dword [0x101ef09c]
mov edi, dword [eax + 0x34]
call dword [section..00cfg]
push edi
call ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [edx + 0x1c]
jle 0x1013df55
mov edi, dword [edx + 8]
test edi, edi
je 0x1013fe45
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x1013eaa4
test byte [edi + 0x1c], 8
jne 0x1013eaa4
mov dword [edx + 8], edi
mov ecx, dword [edx + 0x2c]
mov ebx, dword [edx + 0x30]
call dword [section..00cfg]
push edi
push ebx
call ecx
mov edx, dword [esp + 0x14]
add esp, 8
test eax, eax
mov ebx, dword [esp]
jne 0x1013fe76
mov ecx, dword [0x101ef0a0]
mov edi, dword [edx + 0x34]
call dword [section..00cfg]
push 2
push esi
push edi
call ecx
add esp, 0xc
mov ecx, 7
test eax, eax
jne 0x1013dd00
jmp 0x1013f59e
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov word [ebx + 0x46], ax
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor esi, esi
mov word [ebx + 0x32], 0
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebx + 0x74]
je 0x1013d00e
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x1013f3f7
call fcn.10140100
mov ebx, dword [esp + 0x1c]
mov al, byte [ebx + 0x44]
dec al
mov byte [ebx + 0x44], al
je 0x1013e04b
movsx eax, al
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
jmp 0x1013dfbc
mov eax, dword [ebx + 0x74]
cmp byte [eax + 8], 0
je 0x1013cfc6
movsx ecx, byte [ebx + 0x44]
test ecx, ecx
jle 0x1013e018
xor edx, edx
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + edx*4 + 0x78]
movzx edi, word [ebx + edx*2 + 0x48]
cmp di, word [esi + 0x18]
jb 0x1013cfc6
inc edx
cmp ecx, edx
jne 0x1013e000
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + 0x46]
movzx edx, word [eax + 0x18]
dec edx
cmp edx, ecx
je 0x1013e5a2
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x44], 0
jg 0x1013e8c2
mov eax, dword [esp + 0x30]
mov byte [eax], 0
mov ebx, dword [esp + 0x1c]
jmp 0x1013cfc6
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x74], ecx
jmp 0x1013d02b
mov esi, eax
lea edx, [eax*8]
push 0
call fcn.10137cd0
add esp, 4
test eax, eax
je 0x1013ef2c
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
shl esi, 2
jmp 0x1013d704
mov eax, dword [esp + 0x18]
movsx edx, byte [eax + 0x18]
jmp 0x1013d2ab
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov word [ebx + 0x46], ax
xor esi, esi
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x1013df92
push 0x101cff9b
push 0x1229c
jmp 0x1013f1ac
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push dword [esp + 0x10]
push dword [esp + 8]
call ecx
add esp, 0xc
mov edx, eax
jmp 0x1013d2ab
movzx ebx, byte [edi + esi]
cmp ebx, 0xa
jae 0x1013f7ba
test ebx, ebx
je 0x1013e9b9
cmp ebx, 7
je 0x1013fd14
lea eax, [ebx - 1]
cmp eax, 5
jbe 0x1013e6d1
lea eax, [ebx - 8]
mov dword [esp + 4], 0
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov ecx, eax
cmp eax, edi
mov eax, dword [esp + 4]
sbb eax, edx
jl 0x1013fe35
cmp edi, ecx
sbb edx, dword [esp + 4]
jl 0x1013e8ac
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x1013da52
cmp dword [ebx + 0xa4], esi
je 0x1013f561
mov dword [edi + 0x14], ebx
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
je 0x1013e398
test cl, 1
jne 0x1013e398
cmp dword [ebx + 0x1c], esi
jb 0x1013e398
inc dword [ebx + 0xcc]
mov ecx, edi
call fcn.10009af0
test eax, eax
je 0x1013dd46
mov esi, eax
jmp 0x1013f592
mov edx, esi
push eax
call fcn.10009a90
add esp, 4
mov edi, eax
jmp 0x1013dd22
test bl, 0x39
jne 0x1013f5d4
cmp dword [ecx + 0x14], 0
jne 0x1013f5d4
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0x10], eax
mov dword [esp + 0x34], 0x10009fd0
mov dword [esp + 0x3c], 0
jmp 0x1013cfae
test bl, bl
je 0x1013e208
mov ecx, edi
mov edx, dword [esp]
push ebx
call fcn.1000a100
add esp, 4
test eax, eax
mov ebx, dword [esp]
jne 0x1013d7e1
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xe4]
mov al, byte [esi + 0x29]
mov dword [esp + 0x40], eax
mov ecx, 7
cmp byte [esp + 0x40], 2
mov ebx, dword [esp]
je 0x1013fee3
mov ecx, dword [0x101ef09c]
mov edi, dword [esi + 0x34]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp eax, dword [esi + 0x1c]
jle 0x1013e277
mov edi, dword [esi + 8]
test edi, edi
je 0x1013ff5d
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x1013ec0a
test byte [edi + 0x1c], 8
jne 0x1013ec0a
mov dword [esi + 8], edi
mov ecx, dword [esi + 0x2c]
mov ebx, dword [esi + 0x30]
call dword [section..00cfg]
push edi
push ebx
call ecx
add esp, 8
test eax, eax
mov ebx, dword [esp]
jne 0x1013ff8a
mov ecx, dword [0x101ef0a0]
mov esi, dword [esi + 0x34]
call dword [section..00cfg]
push 2
push ebx
push esi
call ecx
add esp, 0xc
mov ecx, 7
test eax, eax
jne 0x1013d7e1
jmp 0x1013fee3
mov eax, dword [edi + 8]
cmp dword [eax + 4], esi
je 0x1013e2df
mov ecx, dword [edi + 4]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x48], edi
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x34], ecx
mov dword [eax + 4], esi
cmp dword [esp + 0x14], 0x1000000
mov ecx, 0
mov edx, 0x64
cmove ecx, edx
mov byte [eax + 9], cl
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
call fcn.10009e00
test eax, eax
jne 0x1013f586
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x2c], eax
jmp 0x1013dd5d
mov edx, dword [esp + 0xc]
lea ebx, [edx + edi]
jmp dword [ecx*4 + 0x101b6bf8]
cmp dword [eax + 0xa4], ebx
je 0x1013feb7
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
cmp dword [eax], 0
mov eax, dword [esp + 0x10]
je 0x1013e576
cmp dword [eax + 0x1c], ebx
jb 0x1013e576
inc dword [eax + 0xcc]
mov ecx, edi
call fcn.10009af0
test eax, eax
je 0x1013d826
mov esi, eax
jmp 0x1013feda
mov edx, ebx
push eax
call fcn.10009a90
add esp, 4
mov edi, eax
jmp 0x1013d807
cmp dword [ebx + 0xa0], esi
jb 0x1013f58d
test cl, 1
je 0x1013e3f6
mov ecx, dword [0x101f228c]
test ecx, ecx
jne 0x1013ff0e
cmp dword [ebx + 0x20], esi
jae 0x1013ea2b
mov eax, dword [ebx + 0x68]
test eax, eax
jle 0x1013e3e5
xor edx, edx
mov ebx, 0x14
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x64]
cmp dword [ecx + ebx], esi
jae 0x1013e9f7
inc edx
add ebx, 0x30
cmp edx, eax
jl 0x1013e3ce
mov ecx, dword [0x101f2290]
test ecx, ecx
mov ebx, dword [esp]
jne 0x1013ff1b
push dword [ebx + 0xa8]
push 0
push dword [edi + 4]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1013dd46
mov dword [0x101f2138], eax
jmp 0x1013d5d6
mov dword [0x101f2114], eax
jmp 0x1013d5bf
xor eax, eax
dec eax
mov esi, edx
mov edx, eax
jmp 0x1013d292
mov eax, dword [esp + 0x2c]
cmp byte [eax + 8], 0
je 0x1013ff28
mov byte [ebx], 1
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor esi, esi
jmp 0x1013df98
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 4]
add esi, edx
jmp dword [ebx*4 + 0x101b6bbc]
movsx edi, byte [esi]
mov esi, edi
sar esi, 0x1f
jmp 0x1013de6d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x12c], eax
test al, al
js 0x1013ffc6
cmp eax, 0xc
mov dword [esp + 4], eax
jb 0x1013e763
test al, 1
je 0x1013efca
add eax, 0xfffffff4
shr eax, 1
mov dword [esp + 0x10c], eax
lea ecx, [eax + edi]
cmp ecx, dword [esp]
mov ebx, dword [esp + 0x28]
ja 0x1013ed77
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
movzx ecx, word [edx + 8]
cmp ebx, ecx
jae 0x1013ed77
mov ebx, dword [edx + ebx*4 + 0x14]
test ebx, ebx
jne 0x1013e70f
mov ecx, dword [esi + 0xc]
mov ebx, eax
sub ebx, ecx
cmovl ecx, eax
mov eax, dword [esp + 0xc]
add eax, edi
push ecx
push dword [esi + 8]
push eax
jmp 0x1013d1fe
test edx, edx
setne al
mov dword [esp + 4], edx
cmp dl, 0xa
setne cl
and cl, al
movzx ebx, cl
jmp 0x1013d20b
add edi, eax
cmp dword [esp], 0
mov ecx, dword [esp + 0x54]
jne 0x1013ef66
mov eax, dword [esp + 0x100]
inc ecx
mov ebx, eax
test eax, eax
jne 0x1013d737
test edx, edx
mov edi, dword [esp + 0x14]
jne 0x1013ef41
xorpd xmm0, xmm0
mov ecx, dword [esp + 0xc]
movupd xmmword [edi + ecx], xmm0
mov word [edi + ecx + 0x10], 0
mov eax, dword [esp + 0x1c]
and byte [eax + 1], 0xfb
jmp 0x1013d95f
cmp dword [eax + 0xa0], ebx
jb 0x1013fff4
push dword [eax + 0xa8]
push 0
push dword [edi + 4]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1013d826
xor eax, eax
inc eax
jmp 0x1013e425
mov edx, dword [eax + 0x40]
mov esi, dword [eax + 0x44]
movzx edi, word [eax + 0x1a]
movzx ecx, word [edx + ecx*2]
rol cx, 8
and ecx, edi
lea edi, [esi + ecx]
inc edi
movzx ebx, byte [edi - 1]
cmp bl, byte [eax + 0xb]
ja 0x1013e86c
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push edi
push ebx
call ecx
add esp, 0xc
test eax, eax
jg 0x1013e02d
mov ecx, dword [esp + 0x30]
cmp byte [ecx], 0
jne 0x1013e02d
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor esi, esi
jmp 0x1013df98
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1013d713
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + esi]
mov dword [esp + 0x12c], eax
test al, al
js 0x1013fffe
cmp eax, 0xc
mov dword [esp + 8], eax
jb 0x1013e8a4
test al, 1
je 0x1013f257
add eax, 0xfffffff4
shr eax, 1
mov dword [esp + 0x10c], eax
lea ecx, [eax + edx]
cmp ecx, dword [esp]
ja 0x1013ed77
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
movzx ecx, word [edx + 8]
cmp edi, ecx
jae 0x1013ed77
mov esi, edi
mov ebx, dword [edx + edi*4 + 0x14]
test ebx, ebx
jne 0x1013e76b
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov ebx, eax
sub ebx, ecx
cmovl ecx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
add eax, edx
push ecx
push dword [edi + 8]
push eax
jmp 0x1013d400
test eax, eax
setne dl
mov dword [esp + 8], eax
cmp al, 0xa
setne cl
and cl, dl
movzx ebx, cl
jmp 0x1013d40f
mov eax, dword [esp + 0x18]
movsx edx, byte [eax + 0x16]
mov byte [eax + 0x1a], 1
jmp 0x1013d2ab
mov ecx, dword [esp]
lea edx, [edi + ecx]
jmp dword [eax*4 + 0x101b6c10]
movsx eax, byte [edx]
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
jmp 0x1013e119
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
push 0
push dword [esp + 0x1c]
call fcn.10008e80
add esp, 8
mov edx, eax
jmp 0x1013d2ab
mov al, byte [edx + 4]
lea ecx, [esp + 0x100]
mov byte [ecx + 0x12], al
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov word [ecx + 0x10], 2
mov eax, dword [esp + 0xc]
add eax, edi
mov dword [ecx + 8], eax
mov edx, esi
push dword [esp + 0x30]
push ebx
call fcn.10008600
add esp, 8
mov ebx, eax
jmp 0x1013d20b
xor edx, edx
inc edx
jmp 0x1013f3be
xor edx, edx
dec edx
jmp 0x1013d292
mov al, byte [edx + 4]
lea ecx, [esp + 0x100]
mov byte [ecx + 0x12], al
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov word [ecx + 0x10], 2
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
add eax, edx
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x14]
push dword [esp + 0x30]
push ebx
call fcn.10008600
add esp, 8
mov ebx, eax
jmp 0x1013d40d
movzx ebx, byte [edi + esi]
mov dword [esp + 0xfc], ebx
test bl, bl
js 0x10140045
cmp ebx, 0xc
jb 0x1013e9b9
test bl, 1
je 0x1013f7fd
lea eax, [ebx - 0xc]
shr eax, 1
mov dword [esp + 0x10c], eax
mov ecx, dword [esp]
add ecx, eax
cmp ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
ja 0x1013f809
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
movzx ecx, word [esi + 8]
cmp edx, ecx
jae 0x1013f809
mov dword [esp + 4], ebx
mov ecx, esi
mov esi, dword [esi + edx*4 + 0x14]
test esi, esi
jne 0x1013e96c
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0xc]
mov ebx, eax
sub ebx, ecx
cmovl ecx, eax
mov eax, dword [esp]
add eax, edi
push ecx
push dword [esi + 8]
push eax
call sub.VCRUNTIME140.dll_memcmp
mov edx, esi
add esp, 0xc
test eax, eax
cmovne ebx, eax
jmp 0x1013da42
test ebx, ebx
setne al
mov dword [esp + 4], ebx
cmp bl, 0xa
setne cl
and cl, al
movzx ebx, cl
jmp 0x1013da42
movzx edx, byte [edi]
test dl, dl
js 0x1013e02d
and ebx, 0x7f
shl ebx, 7
add ebx, edx
movzx eax, word [eax + 0xe]
cmp ebx, eax
ja 0x1013e02d
add esi, ecx
add esi, 2
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push esi
jmp 0x1013e5d6
xor edx, edx
dec edx
jmp 0x1013d48a
xor eax, eax
inc eax
jmp 0x1013fe38
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 0x40]
mov esi, dword [ecx + 0x44]
movzx edx, word [ecx + 0x1a]
movzx eax, word [eax]
rol ax, 8
and eax, edx
lea edi, [esi + eax]
inc edi
movzx ebx, byte [edi - 1]
cmp bl, byte [ecx + 0xb]
ja 0x1013ea3a
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push edi
push ebx
call ecx
add esp, 0xc
test eax, eax
jg 0x1013e03b
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
jne 0x1013e03b
mov eax, dword [esp + 0x1c]
and byte [eax + 1], 0xfb
mov eax, dword [eax + 0x74]
mov dword [esp + 0x2c], eax
cmp byte [eax], 0
jne 0x1013d04a
push 0x101cff9b
push 0x12225
jmp 0x1013f3d9
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov esi, ecx
bswap esi
bswap edi
jmp 0x1013de6d
mov edx, ecx
mov al, byte [ecx + 4]
lea ecx, [esp + 0x100]
mov byte [ecx + 0x12], al
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov word [ecx + 0x10], 2
mov eax, dword [esp]
add eax, edi
mov dword [ecx + 8], eax
mov ebx, dword [esp + 8]
mov edx, ebx
push dword [esp + 0x30]
push esi
call fcn.10008600
mov edx, ebx
add esp, 8
mov ebx, eax
jmp 0x1013da42
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
jmp 0x1013dad3
mov edi, dword [esi + 2]
bswap edi
movsx ecx, byte [esi]
shl ecx, 8
movzx esi, byte [esi + 1]
or esi, ecx
jmp 0x1013de6d
mov ecx, dword [ecx + ebx - 4]
mov dword [esp + 0x2c], edx
mov edx, esi
call fcn.1013b540
mov edx, dword [esp + 0x2c]
mov eax, dword [esp]
mov eax, dword [eax + 0x68]
jmp 0x1013e3dd
mov ecx, dword [edx]
mov eax, dword [edx + 4]
bswap ecx
mov dword [esp + 4], ecx
bswap eax
mov edx, dword [esp + 8]
jmp 0x1013e119
mov ecx, dword [ebx + 0x3c]
mov edx, esi
call fcn.1013b540
jmp 0x1013e3c0
movzx edx, byte [edi]
test dl, dl
js 0x1013e03b
and ebx, 0x7f
shl ebx, 7
add ebx, edx
movzx ecx, word [ecx + 0xe]
cmp ebx, ecx
ja 0x1013e03b
add esi, eax
add esi, 2
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push esi
jmp 0x1013e8fc
mov eax, dword [edx + 2]
bswap eax
movsx edi, byte [edx]
shl edi, 8
movzx ecx, byte [edx + 1]
or ecx, edi
jmp 0x1013e6e6
mov edi, dword [edi + 0x2c]
jmp 0x1013df12
mov dword [0x101f2128], edi
jmp 0x1013d561
movzx edx, byte [ecx + 2]
test dl, dl
js 0x1014005d
mov ecx, ebx
shl ecx, 0xe
or ecx, edx
and ecx, 0x1fc07f
and eax, 0x7f
shl eax, 7
jmp 0x1013d1ad
cmp al, 4
je 0x10140079
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x1013eb75
cmp dword [0x101ef020], 0
je 0x10140085
mov edi, dword [0x101f2140]
test edi, edi
je 0x1013eb22
mov ecx, dword [0x101ef070]
cmp ecx, 0x10137ef0
jne 0x1014009c
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101ef04c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
sub dword [0x101f20ec], eax
dec dword [0x101f2110]
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [0x101f2140]
test esi, esi
je 0x1013eb75
mov ecx, dword [0x101ef078]
cmp ecx, 0x10137ee0
jne 0x1014008b
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0x10], 0
mov byte [ebx], 1
mov edx, dword [ebx + 0x40]
jmp 0x1013cfe5
mov ecx, dword [esp + 4]
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x1013d24d
mov dword [esp + 0x10], 0
xor ecx, ecx
inc ecx
xor ebx, ebx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
shld esi, edx, 0x19
mov dword [esp + 4], esi
shr ebx, 7
inc ecx
mov esi, 0x3fff
cmp esi, edx
mov esi, 0
sbb esi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov dword [esp + 0x10], ebx
jae 0x1013d26b
jmp 0x1013ebaa
mov ebx, edi
movzx edx, byte [esi + 2]
test dl, dl
js 0x101400ad
shl ecx, 0xe
or ecx, edx
and ecx, 0x1fc07f
and eax, 0x7f
shl eax, 7
or ecx, eax
mov edi, ebx
mov edx, dword [esp + 4]
jmp 0x1013d3af
mov edi, dword [edi + 0x2c]
jmp 0x1013e238
mov ecx, dword [esp + 8]
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x1013d449
mov dword [esp + 4], 0
xor ecx, ecx
inc ecx
mov dword [esp + 0x20], 0
mov edi, dword [esp + 4]
mov dword [esp + 8], edi
shld dword [esp + 8], ebx, 0x19
shr dword [esp + 0x20], 7
inc ecx
mov edi, 0x3fff
cmp edi, ebx
mov edi, 0
sbb edi, dword [esp + 4]
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x20]
mov dword [esp + 4], edi
jae 0x1013d469
jmp 0x1013ec51
movsx edx, byte [esi]
mov ecx, edx
shl ecx, 8
movzx edi, byte [esi + 1]
mov esi, edx
or edi, ecx
sar esi, 0x1f
jmp 0x1013de6d
movzx edx, byte [ecx + 2]
test dl, dl
js 0x101400cb
shl ebx, 0xe
or ebx, edx
and ebx, 0x1fc07f
and eax, 0x7f
shl eax, 7
or ebx, eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x1013d9db
mov esi, edi
mov dword [esp + 4], ebx
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x1013da8b
mov dword [esp + 0x10], 0
xor edx, edx
inc edx
mov dword [esp + 0x40], 0
mov edi, dword [esp + 0x10]
shld edi, ebx, 0x19
mov dword [esp + 4], edi
shr dword [esp + 0x40], 7
inc edx
mov edi, 0x3fff
cmp edi, ebx
mov edi, 0
sbb edi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jae 0x1013dabc
jmp 0x1013ecf0
movsx ecx, byte [edx]
mov edi, ecx
shl edi, 8
movzx eax, byte [edx + 1]
or eax, edi
jmp 0x1013e6e3
mov ebx, dword [esp + 0x1c]
mov esi, 7
jmp 0x1013df92
push 0x101cff9b
push 0x15464
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov eax, dword [esp + 0x30]
mov byte [eax], 0xb
xor edx, edx
jmp 0x1013d2ab
push 0x101cff9b
push 0x1541a
jmp 0x1013ed55
push 0x101cff9b
push 0x15438
jmp 0x1013ed55
push 0x101cff9b
push 0x153cd
jmp 0x1013ed55
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + ecx]
mov dword [esp + 4], eax
cmp eax, 0xa
jae 0x1013eec7
cmp dword [esp + 4], 0
je 0x1013eeba
mov eax, dword [esp + 0xc]
lea ecx, [eax + edi]
lea eax, [esp + 0x100]
mov ebx, dword [esp + 4]
mov edx, ebx
push eax
call fcn.10006aa0
add esp, 4
cmp bl, 7
jne 0x1013f085
movsd xmm0, qword [esp + 0x100]
mov eax, dword [esp + 0x24]
movsd xmm1, qword [eax]
ucomisd xmm1, xmm0
ja 0x1013f14f
ucomisd xmm0, xmm1
ja 0x1013f13f
mov edx, dword [esp + 0x28]
inc edx
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
mov ecx, edx
mov dword [esp + 0x28], edx
cmp edx, eax
mov esi, dword [esp + 0x24]
je 0x1013de0e
add esi, 0x28
mov dword [esp + 4], 7
jmp 0x1013d242
mov ebx, edx
cmp eax, 2
jae 0x1013efa7
sub ebx, dword [esi]
jmp 0x1013d20b
mov ecx, dword [esp + 0x34]
call dword [section..00cfg]
push dword [esp + 0x18]
push edi
jmp 0x1013e0d4
push 0x101cff9b
push 0x11445
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
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x1013f1f9
mov ecx, dword [eax + 0x48]
call fcn.10157430
jmp 0x1013f1f9
xor eax, eax
cmp dl, 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x1013d292
mov dword [esp + 4], 0
jmp 0x1013f156
xor eax, eax
cmp byte [esp + 4], 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp + 4], eax
mov esi, dword [esp + 0x24]
jmp 0x1013d292
test al, 2
jne 0x1013f27d
neg edx
jmp 0x1013d2ab
push 0x101cff9b
push 0x11efa
jmp 0x1013ef4b
push 0x101cff9b
push 0x1227c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov esi, 0xb
mov ebx, dword [esp + 0x1c]
jmp 0x1013df92
mov dword [esp], 7
jmp 0x1013ef66
push 0x101cff9b
push 0x11ebc
jmp 0x1013ef4b
push 0x101cff9b
push 0x11f4f
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], 0xb
xorpd xmm0, xmm0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
movupd xmmword [edi + eax], xmm0
mov word [edi + eax + 0x10], 0
mov eax, dword [esp + 0x1c]
and byte [eax + 1], 0xfb
mov esi, dword [esp]
push edi
call sym.nss3.dll_sqlite3_free
add esp, 4
mov ebx, dword [esp + 0x1c]
jmp 0x1013df92
push 0x101cff9b
push 0x11ead
jmp 0x1013ef4b
mov eax, dword [esp + 0xc]
add eax, edi
xor ecx, ecx
inc ecx
mov edx, ebx
cmp ebx, 2
cmovae ecx, ebx
xor edx, edx
cmp byte [eax + edx], 0
jne 0x1013efca
inc edx
cmp ecx, edx
jne 0x1013efba
jmp 0x1013ee48
xor edx, edx
inc edx
mov dword [esp + 4], edx
jmp 0x1013d292
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + esi]
mov dword [esp + 8], eax
cmp eax, 0xa
jae 0x1013f263
cmp dword [esp + 8], 0
je 0x1013f24a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
add ecx, eax
lea eax, [esp + 0x100]
mov ebx, dword [esp + 8]
mov edx, ebx
push eax
call fcn.10006aa0
add esp, 4
cmp bl, 7
jne 0x1013f2eb
movsd xmm0, qword [esp + 0x100]
mov eax, dword [esp + 0x14]
movsd xmm1, qword [eax]
ucomisd xmm1, xmm0
ja 0x1013f23e
ucomisd xmm0, xmm1
ja 0x1013f232
mov edi, dword [esp + 0x20]
inc edi
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
cmp edi, eax
mov edx, dword [esp + 4]
je 0x1013de0e
add dword [esp + 0x14], 0x28
mov dword [esp + 8], 7
jmp 0x1013d43e
cmp eax, 2
jae 0x1013f2b6
mov ecx, edi
sub ebx, dword [edi]
jmp 0x1013d40d
mov eax, dword [esp + 0x24]
movsd xmm0, qword [eax]
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013f13f
ucomisd xmm0, qword [0x101af198]
jae 0x1013f14f
mov ebx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
fnstcw word [esp + 0x48]
movzx edx, word [esp + 0x48]
or edx, 0xc00
mov word [esp + 0x5c], dx
fldcw word [esp + 0x5c]
fistp qword [esp + 0x78]
fldcw word [esp + 0x48]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
cmp ebx, eax
mov esi, ecx
sbb esi, edx
jl 0x1013f14f
cmp eax, ebx
sbb edx, ecx
jl 0x1013f13f
movd xmm1, ebx
movd xmm2, ecx
punpckldq xmm1, xmm2
movq qword [esp + 0xc0], xmm1
fild qword [esp + 0xc0]
fstp qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xb8]
ucomisd xmm0, xmm1
ja 0x1013f14f
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
mov esi, dword [esp + 0x24]
jmp 0x1013d20b
xor edx, edx
inc edx
mov dword [esp + 4], edx
mov esi, dword [esp + 0x24]
jmp 0x1013d292
xor eax, eax
inc eax
mov dword [esp + 4], eax
xor edx, edx
dec edx
mov esi, dword [esp + 0x24]
jmp 0x1013d292
call dword [section..00cfg]
lea eax, [esp + 0x100]
push dword [esp + 0x2c]
push eax
push esi
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x1013f55a
mov edi, dword [esp + 0x100]
jmp 0x1013dd46
call dword [section..00cfg]
push ebx
push esi
push edi
call ecx
add esp, 0xc
jmp 0x1013debe
push 0x101cff9b
push 0x11fd8
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov esi, 0xb
jmp 0x1013df92
push 0x101cff9b
push 0xee2b
jmp 0x1013f1e0
push 0x101cff9b
push 0x11430
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
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x44]
dec al
mov byte [ecx + 0x44], al
movsx eax, al
mov eax, dword [ecx + eax*4 + 0x78]
mov dword [ecx + 0x74], eax
mov ebx, dword [esp + 0x1c]
mov esi, edi
jmp 0x1013df92
xor eax, eax
cmp cl, 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp + 8], eax
jmp 0x1013d48a
xor edx, edx
inc edx
mov dword [esp + 8], edx
jmp 0x1013f3be
xor eax, eax
inc eax
mov dword [esp + 8], eax
jmp 0x1013f3bb
mov dword [esp + 8], 0
jmp 0x1013f3bb
xor edx, edx
inc edx
mov dword [esp + 8], edx
jmp 0x1013d48a
xor eax, eax
cmp byte [esp + 8], 0xa
setne al
lea edx, [eax + eax]
dec edx
xor eax, eax
inc eax
mov dword [esp + 8], eax
jmp 0x1013f3be
cmp dword [esp + 4], 0
je 0x1013f28c
test al, 1
sete al
xor al, byte [esi + 0x10]
test al, 1
jne 0x1013d2ab
jmp 0x1013eeed
mov edi, dword [esp + 0x14]
test al, 2
je 0x1013eeed
cmp dword [esp + 8], 0
je 0x1013f28c
test al, 1
sete al
xor al, byte [edi + 0x10]
jmp 0x1013f28c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
add eax, ecx
xor ecx, ecx
inc ecx
mov edx, ebx
cmp ebx, 2
cmovae ecx, ebx
xor edx, edx
cmp byte [eax + edx], 0
jne 0x1013f2dd
inc edx
cmp ecx, edx
jne 0x1013f2cd
jmp 0x1013f07c
xor edx, edx
inc edx
mov dword [esp + 8], edx
mov edi, esi
jmp 0x1013d48a
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax]
xor esi, esi
inc esi
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013f3c7
ucomisd xmm0, qword [0x101af198]
jae 0x1013f3b7
mov ebx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
movsd qword [esp + 0x88], xmm0
fld qword [esp + 0x88]
fnstcw word [esp + 0x4c]
movzx edx, word [esp + 0x4c]
or edx, 0xc00
mov word [esp + 0x60], dx
fldcw word [esp + 0x60]
fistp qword [esp + 0x88]
fldcw word [esp + 0x4c]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
cmp ebx, eax
mov edi, ecx
sbb edi, edx
jl 0x1013f3b7
cmp eax, ebx
sbb edx, ecx
jl 0x1013f3c7
movd xmm1, ebx
movd xmm2, ecx
punpckldq xmm1, xmm2
movq qword [esp + 0xe0], xmm1
fild qword [esp + 0xe0]
fstp qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xd8]
ucomisd xmm0, xmm1
ja 0x1013f3b7
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
mov edi, dword [esp + 0x20]
jmp 0x1013d40f
mov dword [esp + 8], esi
xor edx, edx
dec edx
mov edi, dword [esp + 0x20]
jmp 0x1013d48a
mov edx, esi
mov dword [esp + 8], esi
jmp 0x1013f3be
push 0x101cff9b
push 0x12063
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov esi, 0xb
jmp 0x1013df98
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x80]
mov eax, dword [esi + 0x90]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x90], ecx
mov ebx, dword [ecx + 0x18]
dec ebx
mov eax, ebx
mul dword [esi + 0xa8]
mov dword [esp], eax
mov edi, edx
mov eax, dword [esi + 0xac]
imul eax, ebx
mov ebx, dword [ecx + 4]
add edi, eax
mov esi, dword [esi + 0x40]
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push ebx
push edi
push dword [esp + 8]
push esi
call ecx
add esp, 0x10
jmp 0x1013dfcb
push 0x101cff9b
push 0x15464
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov eax, dword [esp + 0x30]
mov byte [eax], 0xb
xor ebx, ebx
jmp 0x1013daef
movzx eax, byte [edi + esi]
mov dword [esp + 4], eax
cmp eax, 0xa
jae 0x1013f7dd
cmp dword [esp + 4], 0
je 0x1013f7f6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
add ecx, eax
lea eax, [esp + 0x100]
mov ebx, dword [esp + 4]
mov edx, ebx
push eax
call fcn.10006aa0
add esp, 4
cmp bl, 7
jne 0x1013fa3a
movsd xmm0, qword [esp + 0x100]
mov eax, dword [esp + 8]
movsd xmm1, qword [eax]
ucomisd xmm1, xmm0
ja 0x1013fb03
ucomisd xmm0, xmm1
ja 0x1013f7d1
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x14]
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x24]
je 0x1013f531
add edx, 0x28
mov ebx, 7
jmp 0x1013da7e
mov eax, dword [esp + 0x18]
mov byte [eax + 0x1a], 1
movsx ebx, byte [eax + 0x16]
jmp 0x1013daef
cmp eax, 2
jae 0x1013fa0b
mov edx, dword [esp + 8]
sub ebx, dword [edx]
mov edi, dword [esp + 0x14]
jmp 0x1013da42
mov edi, eax
jmp 0x1013f1f9
push 0x101cff9b
push 0xee4b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov esi, 0xb
jmp 0x1013f592
mov edi, eax
jmp 0x1013ee86
mov esi, 0xd
mov ecx, edi
call fcn.10158b30
mov ecx, esi
mov ebx, dword [esp]
mov edi, ecx
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x10]
or ecx, dword [eax + 0x14]
jne 0x1013f5b6
mov ecx, dword [esp]
call fcn.101644a0
cmp dword [esp + 0x1c], 0
jne 0x1013f1f9
jmp 0x1013f20f
test bl, 2
jne 0x1013f5d4
mov bl, 0xff
mov bh, 1
jmp 0x1013cf82
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x18]
jmp 0x1013cfae
mov esi, edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + ecx*4 + 4]
test eax, eax
je 0x1013fba1
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x100], eax
mov edi, dword [esp + 8]
mov edx, esi
mov esi, dword [esp + 0x24]
jmp 0x1013e53f
mov esi, eax
call dword [section..00cfg]
lea eax, [esp + 0x130]
push 2
push eax
push dword [esp + 8]
push esi
call ecx
add esp, 0x10
test eax, eax
mov esi, dword [esp + 0x24]
je 0x1013d826
mov dword [esp], eax
mov edi, dword [esp + 8]
jmp 0x1013d871
call dword [section..00cfg]
push ebx
push dword [esp + 4]
push edi
call ecx
add esp, 0xc
jmp 0x1013e1ec
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x80]
mov eax, dword [esi + 0x90]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x90], ecx
mov ebx, dword [ecx + 0x18]
dec ebx
mov eax, ebx
mul dword [esi + 0xa8]
mov dword [esp + 0x10], eax
mov edi, edx
mov eax, dword [esi + 0xac]
imul eax, ebx
mov ebx, dword [ecx + 4]
add edi, eax
mov esi, dword [esi + 0x40]
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push ebx
push edi
mov edi, dword [esp + 0x10]
push dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x34]
call ecx
add esp, 0x10
jmp 0x1013d871
call dword [section..00cfg]
push ebx
push esi
push dword [esp + 0x34]
call ecx
add esp, 0xc
jmp 0x1013d4cb
mov ecx, dword [0x101ef040]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov edi, eax
jmp 0x1013d5f9
xor edi, edi
jmp 0x1013d5d6
mov edi, esi
sar edi, 0x1f
sub ecx, esi
sbb eax, edi
xor edx, edx
cmp dword [0x101f20ec], ecx
sbb edx, eax
jge 0x1013fb0b
mov dword [0x101f2158], 0
jmp 0x1013d57a
xor ecx, ecx
mov esi, edi
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x1013d68b
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1013d541
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1013d5f9
push 0x101cff9b
push 0x153cd
jmp 0x1013f478
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push edi
jmp 0x1013f7b0
mov ebx, edx
lea edx, [esp + 0x12c]
mov esi, ecx
mov ecx, edi
call fcn.101667e0
mov ecx, esi
mov edx, ebx
movzx esi, al
lea eax, [esp + 0x12c]
mov ebx, dword [eax]
jmp 0x1013d97b
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1013db1f
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1013db72
xor eax, eax
cmp bl, 0xa
setne al
add eax, eax
dec eax
mov dword [esp + 0x10], eax
xor ebx, ebx
inc ebx
jmp 0x1013dad3
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x1013fe3c
xor eax, eax
cmp byte [esp + 4], 0xa
setne al
add eax, eax
dec eax
mov dword [esp + 0x10], eax
xor ebx, ebx
inc ebx
jmp 0x1013fe3c
xor ebx, ebx
jmp 0x1013fe35
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x1013dad3
push 0x101cff9b
push 0x1541a
jmp 0x1013f478
push 0x101cff9b
push 0x15438
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov eax, dword [esp + 0x30]
mov byte [eax], 0xb
xor ebx, ebx
mov edi, dword [esp + 0x14]
jmp 0x1013daef
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
test eax, eax
mov edi, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp]
je 0x1013d72a
mov dword [esp + 0x100], eax
mov ebx, eax
jmp 0x1013d735
test al, 2
jne 0x1013fb80
mov ebx, dword [esp + 0x10]
neg ebx
mov edi, dword [esp + 0x14]
jmp 0x1013daef
mov ebx, esi
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + edi]
mov eax, dword [eax + edi + 4]
bswap ecx
bswap eax
mov dword [esp + 0x104], ecx
mov edx, ecx
not edx
movd xmm1, ecx
and ecx, 0xfffff
xor esi, esi
inc esi
or ecx, eax
mov ecx, 8
mov dword [esp + 4], esi
cmovne ecx, esi
test edx, 0x7ff00000
mov edx, 8
cmovne ecx, edx
mov dword [esp + 0x100], eax
mov word [esp + 0x110], cx
movd xmm0, eax
punpckldq xmm0, xmm1
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013f9c5
xor eax, eax
inc eax
mov dword [esp + 4], eax
ucomisd xmm0, qword [0x101af198]
jae 0x1013f9bb
mov eax, ebx
mov esi, dword [ebx + 4]
mov ecx, dword [ebx]
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
fnstcw word [esp + 0x4a]
movzx edx, word [esp + 0x4a]
or edx, 0xc00
mov word [esp + 0x5e], dx
fldcw word [esp + 0x5e]
fistp qword [esp + 0x80]
fldcw word [esp + 0x4a]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
cmp ecx, eax
mov ecx, esi
sbb esi, edx
jl 0x1013f9bb
cmp eax, dword [esp + 0x10]
sbb edx, ecx
jl 0x1013f9c5
movd xmm1, dword [esp + 0x10]
movd xmm2, ecx
punpckldq xmm1, xmm2
movq qword [esp + 0xd0], xmm1
fild qword [esp + 0xd0]
fstp qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc8]
ucomisd xmm0, xmm1
mov edx, 1
mov esi, ebx
ja 0x1013d292
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
neg ebx
mov dword [esp + 4], 7
jmp 0x1013d20b
xor edx, edx
inc edx
mov esi, ebx
jmp 0x1013d292
xor edx, edx
dec edx
mov esi, ebx
jmp 0x1013d292
mov byte [ebx], 1
test eax, eax
jne 0x101400e7
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x2c], eax
jmp 0x1013d04a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
add ecx, eax
xor eax, eax
inc eax
mov esi, ebx
cmp ebx, 2
mov edx, eax
cmovae edx, ebx
xor edi, edi
cmp byte [ecx + edi], 0
jne 0x1013fa33
inc edi
cmp edx, edi
jne 0x1013fa23
jmp 0x1013f54b
mov ebx, eax
jmp 0x1013fe38
mov eax, dword [esp + 8]
movsd xmm0, qword [eax]
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013f7ee
ucomisd xmm0, qword [0x101af198]
jae 0x1013fb03
mov esi, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fnstcw word [esp + 0x44]
movzx edx, word [esp + 0x44]
or edx, 0xc00
mov word [esp + 0x58], dx
fldcw word [esp + 0x58]
fistp qword [esp + 0x68]
fldcw word [esp + 0x44]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp esi, edi
mov ecx, eax
sbb ecx, edx
jl 0x1013fb03
cmp edi, esi
sbb edx, eax
jl 0x1013f7ee
movd xmm1, esi
movd xmm2, eax
punpckldq xmm1, xmm2
movq qword [esp + 0xa0], xmm1
fild qword [esp + 0xa0]
fstp qword [esp + 0x98]
movsd xmm1, qword [esp + 0x98]
ucomisd xmm0, xmm1
ja 0x1013fb03
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x1013da42
xor ebx, ebx
inc ebx
jmp 0x1013fe35
mov dword [0x101f2158], 1
mov ebx, dword [0x101f2140]
test ebx, ebx
je 0x1013fb4d
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov ebx, dword [0x101f2140]
test ebx, ebx
je 0x1013fb4d
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov eax, dword [0x101f2154]
mov ecx, dword [0x101f2150]
mov edx, ecx
or edx, eax
je 0x1013d57a
sub ecx, esi
sbb eax, edi
xor edi, edi
cmp dword [0x101f20ec], ecx
mov ecx, 0
sbb ecx, eax
jl 0x1013d57a
jmp 0x1013d5d6
test ebx, ebx
je 0x1013fb90
test al, 1
sete al
mov ecx, dword [esp + 8]
xor al, byte [ecx + 0x10]
test al, 1
je 0x1013f876
mov edi, dword [esp + 0x14]
jmp 0x1013daeb
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp]
push eax
push 0
call fcn.1004b9b0
add esp, 8
mov dword [esp], eax
mov edi, dword [esp + 8]
mov edx, esi
mov esi, dword [esp + 0x24]
jmp 0x1013e529
mov ecx, edi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edi, dword [eax + edx]
mov eax, dword [eax + edx + 4]
bswap edi
bswap eax
mov dword [esp + 0x104], edi
mov edx, edi
not edx
movd xmm1, edi
and edi, 0xfffff
or edi, eax
mov esi, 8
mov edi, 1
mov dword [esp + 8], edi
cmovne esi, edi
test edx, 0x7ff00000
mov edx, 8
cmovne esi, edx
mov dword [esp + 0x100], eax
mov word [esp + 0x110], si
movd xmm0, eax
punpckldq xmm0, xmm1
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013fd0a
xor eax, eax
inc eax
mov dword [esp + 8], eax
ucomisd xmm0, qword [0x101af198]
jae 0x1013fd00
mov eax, ebx
mov ebx, dword [ebx + 4]
mov esi, dword [eax]
movsd qword [esp + 0x90], xmm0
fld qword [esp + 0x90]
fnstcw word [esp + 0x4e]
movzx edx, word [esp + 0x4e]
or edx, 0xc00
mov word [esp + 0x62], dx
fldcw word [esp + 0x62]
fistp qword [esp + 0x90]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
cmp esi, eax
mov edi, ebx
sbb edi, edx
jl 0x1013fd00
cmp eax, esi
sbb edx, ebx
jl 0x1013fd0a
movd xmm1, esi
movd xmm2, ebx
punpckldq xmm1, xmm2
movq qword [esp + 0xf0], xmm1
fild qword [esp + 0xf0]
fstp qword [esp + 0xe8]
movsd xmm1, qword [esp + 0xe8]
ucomisd xmm0, xmm1
mov edx, 1
mov edi, ecx
ja 0x1013d48a
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
neg ebx
mov dword [esp + 8], 7
jmp 0x1013d40f
xor edx, edx
inc edx
mov edi, ecx
jmp 0x1013d48a
xor edx, edx
dec edx
mov edi, ecx
jmp 0x1013d48a
mov eax, dword [esp]
mov ecx, dword [edi + eax]
mov eax, dword [edi + eax + 4]
bswap ecx
bswap eax
mov dword [esp + 0x104], ecx
mov edx, ecx
not edx
movd xmm1, ecx
and ecx, 0xfffff
xor esi, esi
inc esi
or ecx, eax
mov ecx, 8
cmovne ecx, esi
test edx, 0x7ff00000
mov edx, 8
cmovne ecx, edx
mov dword [esp + 0x100], eax
mov word [esp + 0x110], cx
movd xmm0, eax
punpckldq xmm0, xmm1
movsd xmm1, qword [0x101af190]
ucomisd xmm1, xmm0
ja 0x1013fe33
xor ebx, ebx
inc ebx
ucomisd xmm0, qword [0x101af198]
jae 0x1013f7d4
mov eax, dword [esp + 8]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
movsd qword [esp + 0x70], xmm0
fld qword [esp + 0x70]
fnstcw word [esp + 0x46]
movzx edx, word [esp + 0x46]
or edx, 0xc00
mov word [esp + 0x5a], dx
fldcw word [esp + 0x5a]
fistp qword [esp + 0x70]
fldcw word [esp + 0x46]
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp ecx, edi
mov eax, esi
sbb eax, edx
jl 0x1013f7d4
cmp edi, ecx
sbb edx, esi
jl 0x1013fe35
movd xmm1, ecx
movd xmm2, esi
punpckldq xmm1, xmm2
movq qword [esp + 0xb0], xmm1
fild qword [esp + 0xb0]
fstp qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xa8]
ucomisd xmm0, xmm1
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
ja 0x1013dad3
xor ebx, ebx
ucomisd xmm1, xmm0
seta bl
neg ebx
mov dword [esp + 4], 7
jmp 0x1013da42
mov ebx, esi
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x14]
jmp 0x1013dad3
mov dword [edx + 8], 0
mov edi, dword [edx + 4]
test edi, edi
je 0x1013df55
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
je 0x1013ff54
mov edi, dword [edi + 0x2c]
test edi, edi
mov ebx, dword [esp]
mov edx, dword [esp + 0xc]
jne 0x1013fe57
jmp 0x1013df55
mov ecx, eax
cmp eax, 5
jne 0x1013f59e
jmp 0x1013df55
push 0x101cff9b
push 0xee4b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov esi, 0xb
mov ecx, edi
call fcn.10158b30
mov ecx, esi
mov dword [esp], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xe4]
mov ecx, dword [eax + 0x10]
or ecx, dword [eax + 0x14]
jne 0x1013ff01
mov ecx, dword [esp + 0x10]
call fcn.101644a0
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x24]
jmp 0x1013d871
call dword [section..00cfg]
call ecx
jmp 0x1013e3b7
call dword [section..00cfg]
call ecx
jmp 0x1013e3f6
cmp dword [eax + 4], 1
jne 0x1013ffe5
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x38]
movzx ecx, byte [ecx + 9]
mov edx, dword [ecx + eax + 8]
bswap edx
mov ecx, dword [esp + 0x1c]
mov byte [ecx], 0
call fcn.1000ed10
jmp 0x1013f9f3
mov edx, dword [esp + 0xc]
jmp 0x1013df33
mov dword [esi + 8], 0
mov edi, dword [esi + 4]
test edi, edi
je 0x1013e277
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
je 0x1013e259
mov edi, dword [edi + 0x2c]
test edi, edi
mov ebx, dword [esp]
jne 0x1013ff6f
jmp 0x1013e277
mov ecx, eax
cmp eax, 5
je 0x1013e277
jmp 0x1013fee3
movsx edx, byte [esi]
mov ecx, edx
shl ecx, 0x10
movzx edi, byte [esi + 1]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
mov esi, edx
or ecx, edi
mov edi, ecx
sar esi, 0x1f
jmp 0x1013de6d
mov edi, dword [esi]
bswap edi
jmp 0x1013e463
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add ecx, eax
lea ebx, [esp + 0x12c]
mov edx, ebx
call fcn.101667e0
mov eax, dword [ebx]
jmp 0x1013e4a5
push 0x101cff9b
push 0x1206f
jmp 0x1013f3d9
mov esi, 0xd
jmp 0x1013feda
mov eax, dword [esp + 0xc]
lea ecx, [eax + esi]
mov esi, edi
lea edi, [esp + 0x12c]
mov ebx, edx
mov edx, edi
call fcn.101667e0
mov edx, ebx
mov eax, dword [edi]
mov edi, esi
jmp 0x1013e625
movsx ecx, byte [edx]
mov eax, ecx
shl eax, 0x10
movzx edi, byte [edx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 2]
jmp 0x1013ed36
mov eax, dword [edx]
bswap eax
jmp 0x1013e6e1
lea ecx, [edi + esi]
lea ebx, [esp + 0xfc]
mov edx, ebx
call fcn.101667e0
mov ebx, dword [ebx]
jmp 0x1013e7bc
lea ebx, [esp + 0x130]
mov edx, ebx
call fcn.10007d20
xor ecx, ecx
cmp ecx, dword [ebx + 4]
sbb ecx, ecx
or ecx, dword [ebx]
jmp 0x1013d1af
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
jmp 0x1013f9f3
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1013eb75
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x1013eb22
lea edi, [esp + 0x130]
mov ecx, esi
mov edx, edi
call fcn.10007d20
xor ecx, ecx
cmp ecx, dword [edi + 4]
sbb ecx, ecx
or ecx, dword [edi]
jmp 0x1013ebff
lea edi, [esp + 0x130]
mov edx, edi
call fcn.10007d20
xor ebx, ebx
cmp ebx, dword [edi + 4]
sbb ebx, ebx
or ebx, dword [edi]
jmp 0x1013ecc0
mov esi, eax
cmp eax, 0x10
jne 0x1013df98
jmp 0x1013e43f