Function at 0x1012ad30
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov ecx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x130], eax
test ecx, ecx
je 0x1012b266
mov edi, dword [ecx]
test edi, edi
je 0x1012b26d
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1012ad85
mov ecx, dword [0x101f1070]
cmp ecx, 0x10137970
jne 0x1012b2a3
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], edi
mov ebx, dword [ecx]
mov al, byte [ecx + 0x95]
cmp al, 2
je 0x1012ae0c
cmp al, 1
jne 0x1012b561
test byte [ecx + 0x98], 3
jne 0x1012b205
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x1012adcd
mov dword [ebx + 0x120], 0
test byte [ebx + 0x5e], 2
jne 0x1012b584
inc eax
mov dword [ebx + 0xbc], eax
mov eax, dword [ecx + 0x98]
test al, 0x40
jne 0x1012adf4
inc dword [ebx + 0xc4]
mov eax, dword [ecx + 0x98]
test al, al
jns 0x1012adfe
inc dword [ebx + 0xc0]
mov dword [ecx + 0x20], 0
mov byte [ecx + 0x95], 2
mov eax, dword [ecx + 0x98]
and eax, 0xc
mov dword [esp + 0x1c], ebx
jne 0x1012b2b4
inc dword [ebx + 0xc8]
mov edi, ecx
call fcn.1012bd80
mov esi, eax
dec dword [ebx + 0xc8]
cmp eax, 0x64
je 0x1012bb82
mov eax, dword [edi + 0x8c]
cmp dword [edi + 0x88], 1
sbb eax, 0
mov edx, edi
jge 0x1012b59d
mov dword [edx + 0x78], 0
cmp esi, 0x65
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jne 0x1012b5b1
mov esi, 0x65
cmp byte [ebx + 0x55], 0
jne 0x1012aed6
mov dword [ebx + 0x40], esi
mov ecx, dword [edx]
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x1012b23e
cmp byte [ecx + 0x57], 0
jne 0x1012b23e
and esi, dword [ebx + 0x48]
cmp esi, 0x11
je 0x1012aff0
mov edi, dword [edi + 0xc]
test edi, edi
je 0x1012aebe
mov ecx, dword [0x101f1078]
cmp ecx, 0x10129ee0
jne 0x1012b550
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x130]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx + 0x14], 0
jle 0x1012af53
xor esi, esi
mov dword [esp + 4], 0
xor edi, edi
mov eax, dword [ebx + 0x10]
mov ecx, esi
mov dword [esp], esi
mov esi, dword [eax + esi + 4]
test esi, esi
je 0x1012af29
cmp byte [esi + 9], 0
jne 0x1012afb4
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xe8]
test eax, eax
je 0x1012af37
mov ecx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
cmp byte [esi + 9], 0
jne 0x1012afd0
test ecx, ecx
jg 0x1012af64
mov esi, dword [esp]
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x14]
jl 0x1012aee8
jmp 0x1012af3b
xor ecx, ecx
jmp 0x1012af1b
mov eax, dword [esp + 4]
mov dword [edx + 0x24], eax
xor esi, esi
inc esi
test eax, eax
mov edi, dword [esp + 0x10]
jne 0x1012ae78
jmp 0x1012af5a
mov dword [edx + 0x24], 0
mov esi, 0x65
jmp 0x1012ae78
mov dword [esp + 0xc], ecx
cmp dword [esp + 4], 0
mov esi, dword [esp]
jne 0x1012af2c
mov ecx, dword [ebx + 0x108]
test ecx, ecx
je 0x1012af2c
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x10c]
mov dword [esp + 4], edx
mov edx, dword [esp]
mov esi, dword [eax + edx]
call dword [section..00cfg]
push dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push ebx
push dword [esp + 0x10]
call ecx
mov edx, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 4], eax
jmp 0x1012af2c
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1012af02
mov ecx, esi
call fcn.10020150
mov edx, dword [ebp + 8]
jmp 0x1012af02
dec dword [esi + 0xc]
jne 0x1012af25
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.10020120
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
jmp 0x1012af25
cmp dword [esp + 0x38], 0x32
je 0x1012b4e8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
mov dword [esp + 0xc], eax
mov ebx, dword [edi]
mov edx, dword [edi + 0xc8]
movzx eax, byte [edi + 0x94]
lea esi, [esp + 0x44]
mov ecx, ebx
push 0
push esi
push edi
push eax
push 0xffffffffffffffff
call fcn.1001fe80
add esp, 0x14
test eax, eax
jne 0x1012b4f2
mov ebx, dword [esp + 0x44]
mov esi, 0xe8
lea eax, [esp + 0x48]
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
lea eax, [esp + 0x4c]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov dword [edi + 8], eax
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [ebx + 0xc8]
mov ecx, dword [edi + 0xc8]
mov dword [ebx + 0xc8], ecx
mov dword [edi + 0xc8], eax
mov eax, dword [ebx + 0xdc]
mov dword [edi + 0xdc], eax
mov al, byte [ebx + 0x94]
mov byte [edi + 0x94], al
movups xmm0, xmmword [ebx + 0xa4]
movups xmm1, xmmword [ebx + 0xb4]
movups xmmword [edi + 0xb4], xmm1
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0xc4]
mov dword [edi + 0xc4], eax
movups xmmword [edi + 0xa4], xmm0
inc dword [edi + 0xb8]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1012b0f8
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edx, dword [esp + 4]
cmp word [edx + 0x10], 0
mov ecx, dword [ebp + 8]
jle 0x1012b16c
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x64]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp], eax
mov eax, dword [ecx + 0x64]
lea ebx, [eax + edi]
test byte [eax + edi + 0x11], 0x90
jne 0x1012bd4f
cmp dword [eax + edi + 0x18], 0
jne 0x1012bd4f
mov eax, dword [esp]
movsd xmm0, qword [eax + 0x20]
movsd qword [ebx + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
mov eax, dword [esp + 0x1c]
mov word [eax + edi + 0x10], 1
mov dword [eax + edi + 0x18], 0
inc esi
movsx eax, word [edx + 0x10]
add edi, 0x28
cmp esi, eax
jl 0x1012b10a
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1012b187
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 4]
mov dword [ecx + 0x24], 0
mov al, byte [ecx + 0x95]
test al, al
mov edi, dword [esp + 0x10]
je 0x1012b1d7
mov ebx, dword [ecx]
cmp al, 2
je 0x1012b225
cmp dword [ecx + 0x20], 0
js 0x1012b1c1
cmp dword [ebx + 0x11c], 0
jne 0x1012b233
cmp dword [ecx + 0x7c], 0
jne 0x1012b233
mov eax, dword [ecx + 0x24]
mov dword [ebx + 0x40], eax
mov esi, ecx
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x1012bd62
mov dword [esi + 0x78], 0
mov ecx, esi
inc dword [esp + 0x38]
call fcn.1012abc0
mov esi, dword [ebp + 8]
push esi
call sym.nss3.dll_sqlite3_reset
mov ecx, esi
add esp, 4
cmp dword [esp + 0xc], 0
js 0x1012ad98
mov byte [ecx + 0x93], 0xfe
jmp 0x1012ad98
mov dword [ecx + 0x24], 0x11
cmp byte [ecx + 0x94], 0
jns 0x1012bd75
call fcn.10018800
mov esi, eax
jmp 0x1012ae92
call fcn.10138390
mov ecx, dword [esp + 4]
jmp 0x1012b1a6
call fcn.10018800
mov ecx, dword [esp + 4]
jmp 0x1012b1c1
call fcn.10025ed0
cmp eax, 7
jne 0x1012ae92
mov eax, 7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
cmp byte [ecx + 0x94], 0
cmovs esi, eax
jmp 0x1012ae92
mov eax, str.API_called_with_NULL_prepared_statement
jmp 0x1012b272
mov eax, str.API_called_with_finalized_prepared_statement
mov esi, 0x15
push eax
push esi
call sym.nss3.dll_sqlite3_log
add esp, 8
push 0x101db30a
push 0x15bd4
push 0x101cfb52
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
jmp 0x1012aebe
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1012ad82
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 0x58]
mov dword [esp + 8], ecx
add ecx, 0x28
mov dword [esp + 0x14], ecx
cmp eax, 4
jne 0x1012b5cf
mov ecx, dword [esp + 0x14]
mov edx, 8
call fcn.10139a10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 7
je 0x1012b6e2
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x6c]
mov dword [esp + 0xc], edx
lea edx, [ecx + 0x168]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x98]
mov dword [esp + 0x2c], eax
test byte [ecx + 0x178], 0x10
jne 0x1012b645
mov dword [esp + 0x20], 0
mov dword [esp], 0
xor eax, eax
and dword [esp + 0x2c], 0xc
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
lea ecx, [edx + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0xc]
jge 0x1012b69d
mov ebx, dword [esp + 0x34]
mov esi, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
sub esi, dword [edx + 0x6c]
jge 0x1012b3aa
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
cmp byte [esp + 0x20], 0
jne 0x1012b44d
lea edx, [ebx + ebx*4]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], edx
cmp byte [ecx + edx*4 + 1], 0xfc
jne 0x1012b44d
cmp dword [esp], 0
jle 0x1012b3d0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov edx, dword [ecx + edx*4 + 0x10]
xor ecx, ecx
cmp dword [eax + ecx*4], edx
je 0x1012b3d2
inc ecx
cmp dword [esp], ecx
jne 0x1012b39d
jmp 0x1012b3d7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
cmp esi, edx
jge 0x1012b3b7
mov ebx, esi
jmp 0x1012b362
lea edi, [eax + 4]
mov ebx, esi
mov esi, ebx
sub esi, edx
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
add edi, 4
mov ebx, esi
cmp esi, edx
jge 0x1012b3bc
jmp 0x1012b362
xor ecx, ecx
cmp ecx, dword [esp]
jne 0x1012b44d
mov ecx, dword [esp]
lea edx, [ecx*4 + 4]
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
push eax
call fcn.101374f0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
test eax, eax
jne 0x1012bc3a
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + edx*4 + 0x10]
mov edi, dword [esp]
mov dword [eax + edi*4], ecx
mov ecx, 0xfffff240
and ecx, dword [esi + 0x10]
or ecx, 0x10
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + edx*4 + 0x10]
mov edx, dword [esp + 0xc]
add edx, dword [ecx + 4]
mov dword [esp + 0xc], edx
inc edi
mov dword [esp], edi
cmp dword [esp + 0x2c], 8
jne 0x1012b477
lea ecx, [ebx + ebx*4]
mov edx, dword [esp + 4]
mov cl, byte [edx + ecx*4]
cmp cl, 0xb9
je 0x1012b477
cmp cl, 8
jne 0x1012b337
cmp dword [esp + 0x34], 0
jle 0x1012b337
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x1012bc1d
lea ecx, [ebx + ebx*4]
movaps xmm0, xmmword [0x101b11a0]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], 0
mov eax, dword [esp + 4]
mov dword [esp], ecx
movsx ecx, byte [eax + ecx*4 + 1]
add ecx, 0xf
cmp ecx, 0xd
ja case.0x1012b4ce.9
mov eax, 0x101cec67
jmp dword [ecx*4 + 0x101b8108]
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
mov eax, dword [eax + 4]
jmp 0x1012b8e0
mov esi, 0x11
jmp 0x1012ae9e
mov esi, eax
cmp eax, 7
jne 0x1012b500
mov ecx, ebx
call fcn.10157fd0
mov eax, dword [esp + 0x10]
push dword [eax + 0x11c]
call sym.nss3.dll_sqlite3_value_text
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x1012b527
mov ecx, dword [esp + 0x10]
call fcn.10129dd0
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
je 0x1012b61f
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov dword [eax + 0x24], 7
mov esi, 7
jmp 0x1012bb92
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x1012aebe
movzx eax, al
cmp eax, 3
jne 0x1012ae0c
push ecx
call sym.nss3.dll_sqlite3_reset
mov ecx, dword [ebp + 8]
add esp, 4
mov al, byte [ecx + 0x95]
jmp 0x1012ada4
mov edx, ebx
cmp byte [ebx + 0xb1], 0
je 0x1012b66d
mov ecx, dword [ebp + 8]
mov ebx, edx
jmp 0x1012add7
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
call fcn.1015c610
mov edx, dword [ebp + 8]
jmp 0x1012ae55
cmp byte [edx + 0x94], 0
jns 0x1012ae78
mov ecx, edx
call fcn.10018800
mov edx, dword [ebp + 8]
mov esi, eax
jmp 0x1012ae78
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, 8
call fcn.10139a10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 7
je 0x1012b6e2
bt esi, 0x18
jb 0x1012b2ec
mov ecx, dword [eax + 0x6c]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0x98]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
mov al, 1
mov dword [esp + 0x20], eax
jmp 0x1012b31f
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, ebx
call fcn.10038840
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x7c], eax
mov ecx, edi
mov edx, esi
call fcn.10025ed0
mov esi, eax
mov dword [ebx + 0x24], eax
jmp 0x1012ae9e
mov eax, dword [ecx + 0x170]
mov ecx, dword [ecx + 0x174]
mov dword [esp + 0x20], 0
mov dword [esp], ecx
cmp ecx, 4
jae 0x1012b6bb
mov dword [esp], 0
jmp 0x1012b328
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc8], 0
mov ebx, edx
je 0x1012add7
mov eax, dword [ebp + 8]
lea edx, [eax + 0x88]
mov ecx, dword [ebx]
call fcn.10166ac0
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0xbc]
jmp 0x1012add7
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov esi, 0x65
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
jmp 0x1012ae3d
shr dword [esp], 2
xor ecx, ecx
mov edx, dword [eax + ecx*4]
mov esi, dword [esp + 0xc]
add esi, dword [edx + 4]
mov dword [esp + 0xc], esi
inc ecx
cmp dword [esp], ecx
jne 0x1012b6c1
mov dword [esp + 0x20], 0
jmp 0x1012b328
mov ecx, dword [esp + 0x18]
call fcn.10157fd0
xor esi, esi
inc esi
mov edi, dword [ebp + 8]
jmp 0x1012ae3d
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
test edi, edi
je 0x1012bc50
xor esi, esi
inc esi
cmp esi, 1
mov eax, 0x5b
mov ecx, 0x2c
cmove ecx, eax
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xc]
push dword [edx + esi*4]
push ecx
push str._c_u
push eax
call fcn.1006fd30
add esp, 0x10
inc esi
cmp esi, edi
jbe 0x1012b712
mov eax, dword [esp + 0x58]
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x50]
jae 0x1012bc50
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x4c]
mov byte [ecx + eax], 0x5d
jmp 0x1012b8f9
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
lea ecx, [esp + 0x48]
push dword [eax + 4]
push dword [eax]
push 0x101d0e51
push ecx
jmp 0x1012b8f1
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
movsd xmm0, qword [eax]
sub esp, 0x10
movsd qword [esp + 8], xmm0
lea eax, [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], str._.16g
jmp 0x1012b8f1
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
lea ecx, [esp + 0x48]
push dword [eax + 8]
push str.vtab:_p
push ecx
jmp 0x1012bbea
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
movzx ecx, word [eax + 0x10]
test cl, 2
jne 0x1012bc68
test cl, 0x24
jne 0x1012b76e
test cl, 8
jne 0x1012b78d
test cl, 1
mov ecx, str._blob_
mov eax, 0x101d59fb
cmove eax, ecx
jmp case.0x1012b4ce.4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
lea eax, [eax + ecx*4]
add eax, 0x10
jmp 0x1012bbb8
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov esi, dword [eax + ecx*4 + 0x10]
movzx eax, word [esi + 6]
lea ecx, [esp + 0x48]
push eax
push str.k__d
push ecx
call fcn.1006fd30
add esp, 0xc
mov dword [esp + 0xc], esi
cmp word [esi + 6], 0
je 0x1012b8b6
xor esi, esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + esi*4 + 0x14]
mov edi, 0x101e246d
test eax, eax
je 0x1012b856
mov edi, dword [eax]
push str.BINARY
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
mov eax, 0x101d8974
cmovne eax, edi
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x10]
movzx ecx, byte [ecx + esi]
test cl, 2
mov edx, 0x101dfef7
mov edi, 0x101e246d
cmove edx, edi
test cl, 1
mov ecx, 0x101e0110
cmove ecx, edi
push eax
push edx
push ecx
push str.__s_s_s
lea eax, [esp + 0x58]
push eax
call fcn.1006fd30
add esp, 0x14
inc esi
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 6]
cmp esi, eax
jb 0x1012b843
mov eax, dword [esp + 0x58]
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x50]
jae 0x1012bc70
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x4c]
mov byte [ecx + eax], 0x29
jmp 0x1012b8f9
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
movsx ecx, byte [eax]
lea edx, [esp + 0x48]
push ecx
push dword [eax + 0x20]
push str._s__d_
push edx
call fcn.1006fd30
add esp, 0x10
test byte [esp + 0x5c], 7
jne 0x1012bc42
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1012b92d
mov ecx, dword [esp + 0x58]
mov byte [eax + ecx], 0
cmp dword [esp + 0x54], 0
je 0x1012b92d
test byte [esp + 0x5d], 4
jne 0x1012b92d
lea ecx, [esp + 0x48]
call fcn.10068de0
jmp 0x1012b931
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x98]
and eax, 0xc
cmp eax, 8
jne 0x1012b9e2
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [eax + ecx*4 + 4]
mov eax, dword [esp + 8]
test byte [eax + 0x39], 0x90
jne 0x1012bc7b
mov eax, dword [esp + 8]
mov dword [eax + 0x28], edx
sar edx, 0x1f
mov dword [eax + 0x2c], edx
mov word [eax + 0x38], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [eax + ecx*4 + 8]
mov eax, dword [esp + 8]
test byte [eax + 0x61], 0x90
jne 0x1012bc92
mov eax, dword [esp + 8]
mov dword [eax + 0x50], edx
sar edx, 0x1f
mov dword [eax + 0x54], edx
mov word [eax + 0x60], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [eax + ecx*4 + 0xc]
mov eax, dword [esp + 8]
test byte [eax + 0x89], 0x90
jne 0x1012bcac
mov eax, dword [esp + 8]
mov dword [eax + 0x78], edx
sar edx, 0x1f
mov dword [eax + 0x7c], edx
mov word [eax + 0x88], 4
mov si, 4
mov eax, 4
jmp 0x1012bb30
mov eax, dword [esp + 8]
test byte [eax + 0x39], 0x90
jne 0x1012bcc6
mov eax, dword [esp + 8]
mov dword [eax + 0x28], ebx
sar ebx, 0x1f
mov dword [eax + 0x2c], ebx
mov word [eax + 0x38], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
lea esi, [eax + ecx*4]
movzx eax, byte [esi]
mov edx, dword [eax*4 + 0x101b22a8]
mov edi, dword [esp + 8]
lea ecx, [edi + 0x50]
sub esp, 0x10
movaps xmm0, xmmword [0x101b11b0]
movups xmmword [esp], xmm0
call fcn.10030650
add esp, 0x10
mov edx, dword [esi + 4]
test byte [edi + 0x89], 0x90
jne 0x1012bcdf
mov eax, dword [esp + 8]
mov dword [eax + 0x78], edx
sar edx, 0x1f
mov dword [eax + 0x7c], edx
mov word [eax + 0x88], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [eax + ecx*4 + 8]
mov eax, dword [esp + 8]
test byte [eax + 0xb1], 0x90
jne 0x1012bcf9
mov eax, dword [esp + 8]
mov dword [eax + 0xa0], edx
sar edx, 0x1f
mov dword [eax + 0xa4], edx
mov word [eax + 0xb0], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [eax + ecx*4 + 0xc]
mov eax, dword [esp + 8]
test byte [eax + 0xd9], 0x90
jne 0x1012bd16
mov eax, dword [esp + 8]
mov dword [eax + 0xc8], edx
sar edx, 0x1f
mov dword [eax + 0xcc], edx
mov word [eax + 0xd8], 4
mov eax, dword [esp + 4]
mov ecx, dword [esp]
movzx eax, word [eax + ecx*4 + 2]
mov ecx, dword [esp + 8]
test byte [ecx + 0x129], 0x90
jne 0x1012bd33
movzx eax, ax
mov ecx, dword [esp + 8]
mov dword [ecx + 0x118], eax
mov dword [ecx + 0x11c], 0
mov word [ecx + 0x128], 4
mov eax, dword [esp + 8]
test byte [eax + 0x151], 0x90
je 0x1012bb9b
mov eax, dword [esp + 8]
lea ecx, [eax + 0x140]
call fcn.10129d80
mov si, 8
mov eax, 6
lea eax, [eax + eax*4]
mov ecx, dword [esp + 8]
lea ecx, [ecx + eax*8]
xor eax, eax
dec eax
mov edx, dword [esp + 0xc]
push sym.nss3.dll_sqlite3_free
push 1
push eax
push eax
call fcn.10030650
add esp, 0x10
mov edi, dword [ebp + 8]
mov word [edi + 0x90], si
mov eax, dword [esp + 0x14]
mov dword [edi + 0x78], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
mov ecx, 7
cmove ecx, eax
mov dword [edi + 0x24], ecx
je 0x1012bb82
xor esi, esi
inc esi
jmp 0x1012ae3d
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x40], 0x64
mov esi, 0x64
mov edi, dword [esp + 0x10]
jmp 0x1012ae9e
mov eax, dword [esp + 8]
mov word [eax + 0x150], 1
jmp 0x1012bb27
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x1012b8f9
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.1015aab0
add esp, 8
jmp 0x1012b8f9
lea eax, [esp + 0x48]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
push dword [ecx + edx*4 + 0x10]
push 0x101d1f2c
push eax
call fcn.1006fd30
add esp, 0xc
jmp 0x1012b8f9
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov eax, dword [eax + ecx*4 + 0x10]
movzx ecx, byte [eax + 4]
lea edx, [esp + 0x48]
push dword [ecx*4 + 0x101b2298]
push dword [eax]
push str._.18s__s
jmp 0x1012b8f0
mov edi, dword [ebp + 8]
mov dword [edi + 0x24], 9
push str.interrupted
push edi
call fcn.10157f80
add esp, 8
jmp 0x1012bb7a
xor esi, esi
inc esi
jmp 0x1012b6ac
mov ecx, dword [esp + 0x18]
call fcn.10157fd0
jmp 0x1012b904
lea ecx, [esp + 0x48]
mov edx, 0x101d2389
push 1
call fcn.10069100
add esp, 4
jmp 0x1012b8f9
add eax, 8
jmp 0x1012bbb8
lea ecx, [esp + 0x48]
mov edx, 0x101e10f2
jmp 0x1012bc59
mov eax, edx
sar eax, 0x1f
mov ecx, dword [esp + 0x14]
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012b976
mov eax, dword [esp + 8]
lea ecx, [eax + 0x50]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012b9a2
mov eax, dword [esp + 8]
lea ecx, [eax + 0x78]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012b9d4
mov eax, ebx
sar eax, 0x1f
mov ecx, dword [esp + 0x14]
mov edx, ebx
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012ba03
mov eax, dword [esp + 8]
lea ecx, [eax + 0x78]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012ba5a
mov eax, dword [esp + 8]
lea ecx, [eax + 0xa0]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012ba92
mov eax, dword [esp + 8]
lea ecx, [eax + 0xc8]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.10166ff0
add esp, 4
jmp 0x1012baca
mov ecx, dword [esp + 8]
add ecx, 0x118
movzx edx, ax
push 0
call fcn.10166ff0
add esp, 4
jmp 0x1012bb07
mov ecx, ebx
call fcn.10129d40
mov edx, dword [esp + 4]
mov ecx, dword [ebp + 8]
jmp 0x1012b132
mov ecx, ebx
call fcn.10129dd0
mov dword [esi + 0x7c], 0
jmp 0x1012b1ce
xor esi, esi
inc esi
jmp 0x1012ae92