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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x18], edx
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x68], esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov al, byte [ecx + 1]
test al, 0x20
jne 0x1013a6b1
cmp byte [ebx], 3
jae 0x1013a8e2
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1013a59d
and ecx, 2
or ecx, esi
jne 0x10139f51
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + 0x18]
test cx, cx
je 0x1013aa19
lea edx, [esp + 0x40]
mov dword [edx], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 4], eax
mov word [edx + 0x14], cx
xor eax, eax
mov byte [edx + 0x16], al
mov byte [edx + 0x1a], al
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.1013c780
add esp, 4
mov edi, eax
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x1013a34d
mov esi, dword [esp + 0x68]
test esi, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
je 0x1013a131
mov edx, dword [ebx + 0x74]
cmp dword [edx + 0x14], 0
mov dword [esp + 4], edx
js 0x1013a808
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x54]
mov dword [esp + 0x14], edi
test cl, cl
mov dword [esp + 0x1c], ebx
js 0x1013a8ff
movzx ecx, byte [edx + 0xa]
cmp byte [edx + 1], 0
jne 0x1013a64e
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov ebx, dword [esi + 8]
cmp ebx, 0x7f
mov eax, dword [esp + 0x14]
mov dword [esp + 8], ebx
ja 0x1013a0e3
mov byte [eax + ecx], bl
xor esi, esi
inc esi
add esi, ecx
add eax, esi
mov dword [esp + 0xc], eax
movzx ecx, word [edx + 0xe]
cmp ebx, ecx
jg 0x1013a3d7
add esi, ebx
cmp esi, 5
mov eax, 4
cmovge eax, esi
mov esi, eax
mov edi, ebx
mov ebx, dword [esp + 8]
push ebx
push dword [esp + 0x28]
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub edi, ebx
jne 0x1013a992
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
movzx edi, word [ebx + 0x46]
mov word [ebx + 0x32], 0
cmp dword [esp + 0x68], 0
mov dword [esp + 0x10], esi
je 0x1013a1a7
jns 0x1013a031
cmp word [edx + 0x18], 0
je 0x1013a031
inc edi
mov word [ebx + 0x46], di
movzx edi, di
and byte [ebx + 1], 0xfd
lea eax, [esi + 2]
cmp eax, dword [edx + 0x14]
jg 0x1013a255
mov dword [esp + 0x24], eax
mov dword [esp + 8], edi
mov ecx, dword [edx + 0x48]
mov edi, edx
call fcn.1013acd0
test eax, eax
jne 0x1013a9a9
mov edx, dword [edi + 0x38]
movzx ebx, byte [edi + 9]
mov dword [esp + 0x40], 0
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
lea esi, [eax + ecx*2]
mov dword [esp + 0xc], ebx
movzx eax, word [ebx + edx + 5]
rol ax, 8
movzx ebx, ax
cmp esi, ebx
ja 0x1013a9b1
mov ecx, edi
mov eax, dword [edi + 0x34]
cmp ebx, dword [eax + 0x28]
jg 0x1013a9d9
mov edi, dword [esp + 0xc]
cmp byte [edi + edx + 2], 0
je 0x1013a11e
lea eax, [esi + 2]
cmp eax, ebx
ja 0x1013a28f
mov edi, edx
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x10]
push eax
call fcn.10142a90
add esp, 4
test eax, eax
je 0x1013a274
sub eax, edi
cmp eax, esi
jle 0x1013aa43
mov ebx, eax
mov bh, ah
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x10]
jmp 0x1013a2ae
mov dword [esp + 0x10], ecx
add ecx, eax
mov eax, ebx
cmp ebx, 0x3fff
ja 0x1013a8cb
shr eax, 7
or al, 0x80
mov byte [ecx], al
mov eax, ebx
and al, 0x7f
mov byte [ecx + 1], al
mov eax, 2
movzx esi, al
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
jmp 0x10139fb9
lea eax, [esi + 2]
cmp byte [edi + edx + 1], 0
jne 0x1013a0a5
jmp 0x1013a28f
mov ecx, ebx
call fcn.101371c0
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov eax, dword [ebx + 0x20]
mov edx, dword [esi + 8]
xor edx, eax
or edx, ecx
mov ecx, dword [ebp + 8]
jne 0x10139f60
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x74]
movzx esi, word [ebx + 0x30]
lea edi, [edx + esi]
cmp edi, dword [ecx + 0x3c]
ja 0x1013abd3
movzx edi, word [ecx + 0x12]
add edi, dword [ecx + 0x38]
cmp edx, edi
jb 0x1013abd3
cmp eax, esi
jne 0x1013ac0b
lea esi, [esp + 0x40]
push eax
push 0
push esi
call fcn.100088b0
add esp, 0xc
mov edi, eax
jmp 0x1013a34d
mov eax, edi
mov dword [esp + 8], edi
cmp di, word [edx + 0x18]
jae 0x1013aa4f
mov ecx, dword [edx + 0x48]
mov esi, edx
call fcn.1013acd0
test eax, eax
jne 0x1013a1a0
movzx eax, word [esi + 0x1a]
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 8]
movzx edi, word [ecx + edx*2]
rol di, 8
and edi, eax
add edi, dword [esi + 0x38]
cmp byte [esi + 8], 0
je 0x1013a7fb
mov ecx, dword [esi + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x40]
push eax
push edi
push esi
mov esi, eax
call ecx
add esp, 0xc
movzx ecx, word [esi + 0x10]
xor eax, eax
cmp dword [esi + 0xc], ecx
jne 0x1013a71f
mov dword [esp + 0x6c], eax
and byte [ebx + 1], 0xfb
movzx eax, word [esp + 0x52]
cmp dword [esp + 0x10], eax
je 0x1013a733
lea esi, [esp + 0x6c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push esi
push eax
call fcn.1000d710
add esp, 8
mov edi, dword [esi]
test edi, edi
jne 0x1013a34d
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 8]
jmp 0x1013a031
movzx eax, byte [edx + 0xc]
mov ecx, eax
inc cl
mov byte [edx + 0xc], cl
mov ecx, dword [esp + 0x14]
mov dword [edx + eax*4 + 0x24], ecx
mov word [edx + eax*2 + 0x1c], di
xor edi, edi
jmp 0x1013a347
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1013a9fd
mov edx, edi
add esi, 2
mov eax, esi
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
add eax, esi
cmp eax, ebx
jg 0x1013a60a
sub ebx, esi
mov eax, ebx
rol ax, 8
mov word [edx + edi + 5], ax
mov eax, ebx
mov edi, edx
movzx edx, word [esp + 0x24]
sub dword [ecx + 0x14], edx
add eax, edi
push esi
push dword [esp + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 8]
lea ecx, [eax + edx*2]
lea esi, [eax + edx*2]
add esi, 2
mov eax, dword [esp + 4]
movzx eax, word [eax + 0x18]
sub eax, edx
add eax, eax
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x10]
add esp, 0xc
mov byte [esi - 2], bh
mov byte [esi - 1], bl
inc word [edx + 0x18]
movzx eax, byte [edx + 9]
inc byte [eax + edi + 4]
je 0x1013aa0c
mov eax, dword [edx + 0x34]
xor edi, edi
cmp byte [eax + 0x11], 0
mov ebx, dword [esp + 0x1c]
je 0x1013a347
lea esi, [esp + 0x40]
mov dword [esi], 0
mov ecx, edx
mov edx, dword [esp + 4]
push esi
push dword [esp + 0x18]
call fcn.10142ba0
mov edx, dword [esp + 0xc]
add esp, 8
mov eax, dword [esi]
test eax, eax
jne 0x1013aa05
cmp byte [edx + 0xc], 0
jne 0x1013a362
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
and byte [ebx + 1], 0xfd
mov ecx, ebx
call fcn.101401b0
mov edi, eax
mov eax, dword [ebx + 0x74]
mov byte [eax + 0xc], 0
mov byte [ebx], 1
mov eax, dword [ebp + 8]
test al, 2
je 0x1013a34d
test edi, edi
jne 0x1013a34d
mov ecx, ebx
call fcn.10007b70
xor edi, edi
mov esi, ebx
cmp dword [ebx + 0x70], 0
je 0x1013a3c1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
call fcn.10142fa0
mov dword [esi + 0x10], eax
test eax, eax
je 0x1013abf2
mov ecx, dword [esp + 0x18]
push dword [ecx + 8]
push dword [ecx]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi], 3
mov eax, dword [esp + 0x18]
movsd xmm0, qword [eax + 8]
movsd qword [esi + 0x38], xmm0
jmp 0x1013a34d
movzx edi, word [edx + 0x10]
mov dword [esp + 0x38], ebx
mov eax, ebx
sub eax, edi
mov edx, dword [edx + 0x34]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x28]
add ebx, 0xfffffffc
mov dword [esp + 0x30], 0
xor edx, edx
div ebx
add edx, edi
cmp edx, ecx
cmovg edx, edi
lea eax, [edx + esi]
add eax, 4
mov dword [esp + 0x10], eax
add esi, dword [esp + 0x14]
add esi, edx
lea eax, [esp + 0x74]
mov dword [eax], 0
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
cmp ecx, edx
mov dword [esp + 0x34], edx
mov ebx, edx
cmovl ebx, ecx
mov dword [esp + 8], eax
cmp eax, ebx
mov dword [esp + 0xc], edi
jl 0x1013aa84
push ebx
push dword [esp + 0x28]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub dword [esp + 0x38], ebx
mov eax, dword [esp + 8]
jle 0x1013a572
mov edi, dword [esp + 0xc]
add edi, ebx
add dword [esp + 0x24], ebx
sub eax, ebx
mov edx, dword [esp + 0x34]
sub edx, ebx
jne 0x1013a425
mov dword [esp + 8], eax
mov dword [esp + 0x70], 0
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x11], 0
mov dword [esp + 0xc], ebx
je 0x1013a4cf
mov eax, dword [0x101f1688]
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0xc]
mov ebx, edi
inc edi
xor eax, eax
cmp edi, 2
jae 0x1013a860
cmp edi, eax
je 0x1013a49f
mov eax, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x20]
div dword [ecx + 0x24]
mov edi, dword [esp + 0x2c]
cmp ebx, eax
je 0x1013a49f
inc ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x70]
push 0
push ebx
lea eax, [esp + 0x7c]
push eax
call fcn.1000e3c0
add esp, 0xc
mov edi, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x11], 0
je 0x1013aa77
test edi, edi
jne 0x1013aa77
mov edx, dword [esp + 0x74]
cmp dword [esp + 0xc], 1
mov eax, 4
sbb eax, 0
mov ecx, dword [esp + 0x20]
mov ebx, edx
lea edi, [esp + 0x40]
push edi
push dword [esp + 0x10]
push eax
call fcn.1000d9f0
add esp, 0xc
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x1013aaa2
bswap ebx
mov dword [esi], ebx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov eax, dword [esp + 8]
jne 0x1013a8b0
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx + 0x38]
mov dword [esi], 0
mov dword [esp + 0x30], ecx
mov edi, dword [ecx + 0x38]
add edi, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x28]
add edx, 0xfffffffc
jmp 0x1013a425
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1013aace
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jne 0x1013aadb
call fcn.1013f960
jmp 0x10139fff
mov eax, dword [esp + 0x28]
cmp byte [eax + 0xb], 0
jne 0x1013ab3a
test byte [ebx + 1], 2
je 0x1013a5cc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
xor eax, dword [ebx + 0x24]
mov ecx, dword [ecx + 8]
xor ecx, dword [ebx + 0x20]
or ecx, eax
mov ecx, dword [ebp + 8]
je 0x1013a788
test esi, esi
mov esi, dword [esp + 0x18]
jne 0x10139f60
mov eax, ecx
shr eax, 3
and eax, 1
mov edx, dword [esi + 8]
lea esi, [esp + 0x68]
mov ecx, ebx
push esi
mov esi, dword [esp + 0x1c]
push eax
push dword [esi + 0xc]
call fcn.10139bd0
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x10139f60
jmp 0x1013a1a0
mov esi, edx
mov eax, dword [ecx + 0x14]
sub eax, dword [esp + 0x24]
cmp eax, 4
mov edx, 4
cmovl edx, eax
call fcn.10008580
test eax, eax
jne 0x1013a9fd
mov edx, esi
movzx eax, byte [esi + edi + 5]
shl eax, 8
movzx ecx, byte [esi + edi + 6]
add eax, ecx
dec eax
movzx ebx, ax
inc ebx
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x10]
jmp 0x1013a29d
mov edi, ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
add edx, ecx
cmp edx, 0x7f
mov eax, dword [esp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 0x38], edx
ja 0x1013a830
mov byte [eax + edi], dl
xor ebx, ebx
inc ebx
add ebx, edi
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ecx, 0x7f
cmp ecx, edx
mov ecx, 0
sbb ecx, esi
lea ecx, [eax + ebx]
jb 0x1013ab9c
mov byte [ecx], dl
xor esi, esi
inc esi
add esi, ebx
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
jmp 0x10139fbb
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1013a6da
mov edx, dword [ebx + 0x40]
cmp ecx, ebx
je 0x1013a6cf
test edx, edx
je 0x1013a6e9
cmp dword [ecx + 0x40], edx
je 0x1013a6e9
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x1013a6c2
test ebx, ebx
je 0x1013a6df
and al, 0xdf
mov byte [ebx + 1], al
mov dword [esp + 0x6c], 0
jmp 0x1013a6fe
push ebx
call fcn.10007a70
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x1013a1a0
test esi, esi
je 0x10139ee9
cmp byte [ebx + 0x44], 0
jns 0x10139ee9
push 0x101db30a
push 0x13071
jmp 0x1013aa59
mov ecx, dword [esp + 4]
mov edx, edi
push esi
call fcn.100095d0
add esp, 4
jmp 0x1013a20d
movzx ecx, word [esp + 0x50]
cmp dword [esp + 0x4c], ecx
jne 0x1013a224
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0x11], 0
je 0x1013a761
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + 0x10]
cmp dword [esp + 0x10], ecx
jge 0x1013a224
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x38]
movzx ecx, byte [ecx + 9]
add eax, ecx
add eax, 0xa
cmp edi, eax
jae 0x1013ac3c
push 0x101db30a
push 0x1312e
jmp 0x1013aa59
cmp word [ebx + 0x32], 0
mov esi, dword [esp + 0x18]
je 0x10139f60
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esi + 0x20]
add ecx, dword [esi + 0x1c]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jne 0x10139f60
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x74]
movzx esi, word [ebx + 0x30]
lea edi, [edx + esi]
cmp edi, dword [ecx + 0x3c]
ja 0x1013abd3
movzx edi, word [ecx + 0x12]
add edi, dword [ecx + 0x38]
cmp edx, edi
jb 0x1013abd3
cmp eax, esi
jne 0x1013ac2c
push eax
push 0
push dword [esp + 0x20]
call fcn.100088b0
add esp, 0xc
mov esi, eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
jmp 0x1013a35a
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x1013a1e7
cmp byte [ebx], 2
jae 0x1013abfc
mov ecx, edx
call fcn.1000e000
mov edx, dword [esp + 4]
mov dword [esp + 0x6c], eax
test eax, eax
mov ecx, dword [ebp + 8]
je 0x10139f71
jmp 0x1013a1a0
lea ecx, [eax + edi]
mov eax, edx
cmp edx, 0x3fff
ja 0x1013ac1b
shr eax, 7
or al, 0x80
mov byte [ecx], al
mov eax, edx
and al, 0x7f
mov byte [ecx + 1], al
mov eax, 2
movzx ebx, al
mov eax, dword [esp + 0x14]
jmp 0x1013a67a
mov eax, 0xcccccccd
mov edx, dword [esp + 0x20]
mul dword [edx + 0x28]
shr edx, 2
inc edx
mov dword [esp + 0x2c], edx
lea eax, [ebx - 1]
mov ecx, eax
xor edx, edx
div dword [esp + 0x2c]
sub ecx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, dword [esp + 0x20]
div dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 1]
xor eax, eax
cmp edx, dword [esp + 0x3c]
sete al
add eax, ecx
add eax, 2
jmp 0x1013a4ad
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x1013ac72
call fcn.1013f960
mov eax, dword [esp + 8]
jmp 0x1013a54c
sar eax, 0x1f
mov edx, ebx
push eax
call fcn.1001a390
mov edx, dword [esp + 8]
add esp, 4
jmp 0x1013a10a
mov ecx, ebx
call fcn.10004f20
mov edi, eax
mov dword [esp + 0x6c], eax
test eax, 0xffffffef
jne 0x1013a34d
jmp 0x10139ef2
mov dword [esp + 0x6c], 0
mov ecx, dword [eax + 0x58]
cmp ecx, 5
mov esi, 4
cmovge esi, ecx
cmp byte [eax + 0x11], 0
je 0x10139fff
mov eax, dword [esp + 4]
movzx eax, word [eax + 0xe]
cmp esi, eax
jbe 0x10139fff
mov edi, dword [esp + 4]
mov ecx, dword [edi + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
push edi
call ecx
add esp, 0xc
lea ecx, [esp + 0x40]
movzx eax, word [ecx + 0x10]
cmp dword [ecx + 0xc], eax
je 0x10139fff
mov eax, dword [esp + 0x14]
mov edx, dword [esi + eax - 4]
bswap edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edi, [esp + 0x6c]
push edi
mov eax, dword [esp + 8]
push dword [eax + 4]
push 3
call fcn.1000d9f0
add esp, 0xc
mov edi, dword [edi]
test edi, edi
jne 0x1013a34d
jmp 0x10139fff
mov edx, dword [esp + 0xc]
add edx, ebx
push edi
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10139ffb
mov ebx, dword [esp + 0x1c]
mov edx, edi
jmp 0x1013aa05
mov eax, 0x11370
test ebx, ebx
jne 0x1013a9de
mov edi, edx
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x34]
mov ebx, 0x10000
cmp dword [edx + 0x28], 0x10000
mov edx, edi
je 0x1013a097
jmp 0x1013a9de
mov eax, 0x11373
push 0x101db30a
push eax
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, 0xb
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
mov edi, eax
jmp 0x1013a347
movzx eax, byte [edx + 9]
inc byte [eax + edi + 3]
jmp 0x1013a30d
mov eax, dword [ebp + 8]
shr eax, 3
and eax, 1
mov edx, dword [esi]
lea esi, [esp + 0x68]
mov ecx, ebx
push esi
mov esi, dword [esp + 0x1c]
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.101683b0
add esp, 0x10
jmp 0x10139f3f
push 0x101db30a
push 0x11384
jmp 0x1013a9e4
push 0x101db30a
push 0x13113
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 0x1013a34d
test edi, edi
jne 0x1013aab2
mov ebx, dword [esp + 0x74]
jmp 0x1013a538
mov eax, dword [esp + 0x24]
cmp dword [esp + 8], 0
jle 0x1013abc2
mov ebx, dword [esp + 8]
push ebx
push eax
push dword [esp + 0x14]
jmp 0x1013a44a
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1013aab2
mov ecx, dword [eax + 0x48]
call fcn.10157e40
cmp dword [esp + 0x30], 0
je 0x1013a34d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x48]
call fcn.10157e40
jmp 0x1013a34d
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jmp 0x10139fff
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x80]
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x90], ecx
mov esi, dword [ecx + 0x18]
dec esi
mov eax, esi
mul dword [ebx + 0xa8]
mov dword [esp + 8], eax
mov edi, edx
mov eax, dword [ebx + 0xac]
imul eax, esi
mov esi, dword [ecx + 4]
add edi, eax
mov ebx, dword [ebx + 0x40]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push esi
push edi
mov esi, dword [esp + 0x18]
push dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x2c]
call ecx
add esp, 0x10
jmp 0x10139fff
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 0x40]
mov eax, dword [esp + 0x28]
mov byte [eax + 0xb], 0
mov edi, dword [eax + 4]
mov edi, dword [edi + 8]
test edi, edi
je 0x1013a5ab
test byte [edi + 1], 0x10
je 0x1013ab8d
mov eax, dword [esp + 0x28]
mov byte [eax + 0xb], 1
cmp dword [edi + 0x40], edx
jne 0x1013ab8d
mov ecx, dword [edi + 0x20]
xor ecx, dword [esp + 4]
mov eax, dword [edi + 0x24]
xor eax, dword [esp + 0x14]
or eax, ecx
jne 0x1013ab8d
mov byte [edi], 1
mov edi, dword [edi + 0x18]
test edi, edi
mov ecx, dword [ebp + 8]
jne 0x1013ab65
jmp 0x1013a5ab
xor eax, eax
mov edi, 0x3fff
cmp edi, edx
sbb eax, esi
jb 0x1013abe2
mov eax, edx
shr eax, 7
or al, 0x80
mov byte [ecx], al
and dl, 0x7f
mov byte [ecx + 1], dl
mov esi, 2
jmp 0x1013a69e
push ebx
push 0
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memset
jmp 0x1013a44f
push 0x101db30a
push 0x13020
jmp 0x1013aa59
push esi
call fcn.1001a390
add esp, 4
mov esi, eax
jmp 0x1013a69e
mov edi, 7
jmp 0x1013a3c1
push 0x101db30a
push 0x130ec
jmp 0x1013aa59
lea edx, [esp + 0x40]
mov ecx, ebx
call fcn.10168600
jmp 0x1013a1a0
sar eax, 0x1f
push eax
call fcn.1001a390
add esp, 4
jmp 0x1013a854
mov ecx, ebx
mov edx, dword [esp + 0x18]
call fcn.10168600
jmp 0x1013a7e7
mov eax, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x3c]
jbe 0x1013ac5a
push 0x101db30a
push 0x13131
jmp 0x1013aa59
push dword [esp + 0x10]
push dword [esp + 0x18]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor edi, edi
jmp 0x1013a34d
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x80]
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x90], ecx
mov esi, dword [ecx + 0x18]
dec esi
mov eax, esi
mul dword [ebx + 0xa8]
mov dword [esp + 0xc], eax
mov edi, edx
mov eax, dword [ebx + 0xac]
imul eax, esi
mov esi, dword [ecx + 4]
add edi, eax
mov ebx, dword [ebx + 0x40]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push esi
push edi
push dword [esp + 0x14]
push ebx
call ecx
add esp, 0x10
jmp 0x1013a8c2