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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov edi, edx
mov esi, ecx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x90], eax
cmp dword [ecx + 0x18], 0
jle 0x100116c2
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
xor ebx, ebx
test eax, eax
je 0x100116c2
mov ecx, esi
mov edx, edi
call fcn.10012090
test eax, eax
jne 0x100116e4
cmp dword [esi + 0x34], 0x2de218
jne 0x10011aa2
cmp byte [esi + 0x32], 0
jne 0x10011a7e
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x58]
mov ecx, esi
xor edx, edx
push eax
call fcn.100121c0
add esp, 4
mov ebx, eax
test eax, eax
jne 0x10011ae0
cmp dword [esp + 0x58], 0
jne 0x10011686
cmp byte [esi + 0x32], 0
jne 0x100116f4
test byte [esi + 0x2e], 2
jne 0x10011b08
mov dword [esp + 0x28], edi
mov al, byte [esi + 0x2c]
mov byte [esp + 0x13], al
test al, al
jne 0x1001172b
cmp byte [esi + 0x2b], 0
jne 0x1001172b
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 0
push edi
call ecx
add esp, 0x10
test eax, eax
jne 0x10011b1c
mov byte [esi + 0x2c], 1
cmp dword [esi + 0x18], 0
mov edi, dword [esp + 0x28]
jle 0x10011746
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x1001175f
lea eax, [esp + 0x58]
mov ecx, esi
xor edx, edx
push eax
call fcn.100121c0
add esp, 4
test eax, eax
jne 0x10011b23
mov ecx, esi
mov edx, edi
call fcn.10012090
test eax, eax
je 0x10011aff
movzx edi, byte [esi + 0x2d]
mov eax, 2
sub eax, edi
mov dword [esp + 0x3c], eax
inc edi
cmp byte [esi + 0x2b], 0
jne 0x100117a9
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push dword [esp + 0x40]
push edi
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x10011b2a
mov dword [esp + 0x54], edi
xorps xmm0, xmm0
movups xmmword [esi + 0x54], xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x34], xmm0
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
lea eax, [esp + 0x68]
push eax
push edi
call ecx
add esp, 8
test eax, eax
jne 0x10011b31
xor edi, edi
cmp dword [esp + 0x68], 0x21
mov eax, dword [esp + 0x6c]
sbb eax, 0
mov eax, 0
jge 0x10011b38
mov dword [esp + 8], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x38]
mov edx, dword [eax]
mov byte [esi + 0x40], 1
mov eax, 0x2de218
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x40]
add eax, ecx
mov ebx, dword [esi + 0x3c]
add ecx, ebx
add ecx, 0x5bc430
add eax, ecx
add ecx, dword [esi + 0x44]
mov ebx, 0x2de218
add eax, ebx
add ecx, eax
add eax, dword [esi + 0x48]
add eax, ecx
add ecx, edi
add ecx, eax
add eax, dword [esp + 8]
add eax, ecx
add ecx, dword [esi + 0x54]
add ecx, eax
add eax, dword [esi + 0x58]
add eax, ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
lea ebx, [esi + 0x34]
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edx + 0x50], xmm0
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [edx + 0x40], xmm1
mov dword [esp + 8], edx
movups xmmword [edx + 0x30], xmm0
cmp byte [esi + 0x2b], 2
je 0x10011889
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
movups xmm0, xmmword [ebx + 0x20]
mov eax, dword [esp + 8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
mov dword [edi + 0x60], 0
mov eax, dword [esi + 0x44]
mov dword [edi + 0x80], eax
mov dword [edi + 0x64], 0
cmp byte [esi + 0x2b], 0
jne 0x100118e7
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 4
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x10011c1a
mov eax, dword [esi + 0x44]
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ecx, eax
mov dword [edi + 0x68], ecx
cmp byte [esi + 0x2b], 0
jne 0x1001193e
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 4
push ebx
call ecx
add esp, 0x10
cmp byte [esi + 0x2b], 0
jne 0x1001193e
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 5
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x10011c2a
mov dword [edi + 0x6c], 0xffffffff
cmp byte [esi + 0x2b], 0
jne 0x1001198d
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 5
push ebx
call ecx
add esp, 0x10
cmp byte [esi + 0x2b], 0
jne 0x1001198d
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 6
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x10011c3a
mov dword [edi + 0x70], 0xffffffff
cmp byte [esi + 0x2b], 0
jne 0x100119dc
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 6
push ebx
call ecx
add esp, 0x10
cmp byte [esi + 0x2b], 0
jne 0x100119dc
mov ebx, dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 0xa
push 1
push 7
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x10011c4a
mov dword [edi + 0x74], 0xffffffff
xor ebx, ebx
cmp byte [esi + 0x2b], 0
jne 0x10011a05
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 7
push edi
call ecx
add esp, 0x10
cmp dword [esi + 0x48], 0
jne 0x10011c5a
cmp byte [esi + 0x2b], 0
jne 0x10011a33
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push dword [esp + 0x40]
push dword [esp + 0x5c]
push edi
call ecx
add esp, 0x10
mov eax, dword [esp + 0x28]
mov dword [eax], 1
xor eax, eax
mov dword [esp + 0x28], eax
cmp byte [esp + 0x13], 0
jne 0x10011a6e
mov byte [esi + 0x2c], 0
cmp byte [esi + 0x2b], 0
jne 0x10011a6e
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 9
push 1
push 0
push edi
call ecx
add esp, 0x10
cmp byte [esp + 0x28], 0
je 0x100116a0
jmp 0x10011693
test ebx, ebx
je 0x10011adc
mov ecx, esi
call fcn.10164960
mov byte [esi + 0x32], 0
xor eax, eax
dec eax
cmp ebx, 0x20a
cmove ebx, eax
mov byte [esi + 0x2b], 0
jmp 0x100116aa
push 0x101db30a
push 0x101b7
push str.cannot_open_file
push str._s_at_line__d_of___.10s_
push 0xe
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov ebx, 0xe
cmp byte [esi + 0x32], 0
je 0x100116aa
mov ecx, esi
call fcn.10164960
mov byte [esi + 0x32], 0
jmp 0x10011a99
xor ebx, ebx
jmp 0x10011a99
cmp ebx, 0x508
jne 0x100116aa
mov byte [esi + 0x32], 1
mov byte [esi + 0x2b], 2
mov dword [edi], 1
jmp 0x100116dd
mov al, 1
xor ebx, ebx
jmp 0x10011a3f
cmp byte [esi + 0x2b], 0
je 0x10011c77
mov ebx, 0x108
jmp 0x100116a0
mov ebx, eax
jmp 0x100116a0
mov ebx, eax
jmp 0x10011a3d
mov ebx, eax
jmp 0x10011a33
mov ebx, eax
jmp 0x10011a0f
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
xor edx, edx
lea eax, [esp + 0x70]
push edx
mov dword [esp + 4], 0
push edx
push 0x20
push eax
push edi
call ecx
add esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10011a0f
mov eax, dword [esp + 0x70]
mov ebx, eax
bswap ebx
mov ecx, ebx
and ecx, 0xfffffffe
cmp ecx, 0x377f0682
jne 0x10012042
mov edx, dword [esp + 0x78]
lea ecx, [edx - 1]
test edx, ecx
jne 0x10012042
mov ecx, edx
bswap ecx
mov dword [esp + 0x1c], ecx
add ecx, 0xfffeffff
cmp ecx, 0xffff01ff
jb 0x10012042
mov ecx, ebx
and cl, 1
mov byte [esi + 0x41], cl
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x24], ecx
bswap ecx
mov dword [esi + 0x70], ecx
mov edi, dword [esp + 0x80]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0xc], edi
mov dword [esi + 0x58], edi
mov edi, dword [esp + 8]
mov dword [esi + 0x54], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 4], edi
jne 0x10011cc4
add edx, eax
mov ecx, dword [esp + 4]
add eax, ecx
mov edi, dword [esp + 0x24]
add edi, eax
add edx, eax
add edi, edx
add edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
add ecx, edi
add edx, edi
add ecx, edx
jmp 0x10011cec
mov ebx, eax
cmp eax, 5
je 0x10011916
jmp 0x10011a0f
mov ebx, eax
cmp eax, 5
je 0x10011965
jmp 0x10011a0f
mov ebx, eax
cmp eax, 5
je 0x100119b4
jmp 0x10011a0f
mov ebx, eax
cmp eax, 5
je 0x10011a05
jmp 0x10011a0f
push dword [esi + 0x6c]
push dword [esi + 0x44]
push str.recovered__d_frames_from_WAL_file__s
push 0x11b
call sym.nss3.dll_sqlite3_log
add esp, 0x10
jmp 0x10011a0f
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 6
push 1
push 0
push edi
call ecx
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100116a0
cmp byte [esi + 0x2b], 0
jne 0x10011b12
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push 5
push 1
push 0
push edi
call ecx
add esp, 0x10
jmp 0x10011b12
mov eax, dword [esp + 4]
bswap eax
add eax, ebx
add ecx, eax
add ebx, dword [esp + 0x1c]
add ebx, eax
add ecx, ebx
mov edx, dword [esp + 8]
bswap edx
add edx, ebx
mov eax, dword [esp + 0xc]
bswap eax
add eax, ecx
add edx, ecx
add eax, edx
mov ecx, eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ecx
mov eax, dword [esp + 0x88]
bswap eax
cmp edx, eax
jne 0x10012042
mov eax, dword [esp + 0x8c]
bswap eax
cmp ecx, eax
jne 0x10012042
cmp dword [esp + 4], 0x18e22d00
jne 0x1001201d
call sym.nss3.dll_sqlite3_initialize
mov ebx, 7
test eax, eax
jne 0x10011a0f
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x8018]
xor edi, edi
xor edx, edx
call fcn.10142fa0
mov dword [esp + 0x14], eax
test eax, eax
je 0x10011a0f
mov eax, dword [esp + 0x1c]
lea edx, [eax + 0x18]
mov ecx, dword [esp + 0x14]
add eax, ecx
add eax, 0x18
mov dword [esp + 0x38], eax
add ecx, 0x18
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add eax, 0xffffffe0
adc ecx, 0xffffffff
push 0
mov dword [esp + 0x24], edx
push edx
push ecx
push eax
call fcn.10157c20
mov dword [esp + 0x50], eax
add eax, 0x21
shr eax, 0xc
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], 0xfde
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov edx, eax
cmovb edx, ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 4]
mov edx, ecx
shl edx, 0xc
mov ebx, edx
add edx, 0xfde
cmp edx, eax
cmovae edx, eax
mov dword [esp + 0x30], edx
cmp dword [esi + 0x18], ecx
jle 0x10011dff
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 4]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x64], ecx
mov dword [esp], 0
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x10011e28
mov ecx, esi
mov edx, dword [esp + 4]
lea eax, [esp + 0x64]
push eax
call fcn.100121c0
add esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10012062
mov eax, dword [esi + 0x20]
add ebx, 0xffffffdf
mov edx, dword [esp + 4]
test edx, edx
mov ecx, 1
cmove ebx, ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + edx*4], ecx
mov al, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x30]
jbe 0x10011eb4
mov ecx, dword [esp + 4]
test ecx, ecx
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], ebx
mov eax, 0
mov ecx, 0x88
cmove eax, ecx
add ebx, eax
mov ecx, 0x8000
sub ecx, eax
mov edx, dword [esp + 0x38]
add eax, edx
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test byte [esp + 0xc], 1
je 0x10012062
mov ecx, dword [esp + 4]
lea eax, [ecx + 1]
add dword [esp + 0x34], 0x1000
cmp ecx, dword [esp + 0x48]
mov dword [esp + 4], eax
jne 0x10011db0
jmp 0x10012062
mov eax, dword [esp + 0x18]
dec eax
mul dword [esp + 0x20]
mov ebx, edx
add eax, 0x20
mov dword [esp], eax
adc ebx, 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
push dword [esp + 4]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x1c]
call ecx
add esp, 0x14
mov dword [esp], 0
test eax, eax
je 0x10011f0b
mov dword [esp + 0xc], 0
mov dword [esp], eax
jmp 0x10011e50
mov ecx, esi
lea edx, [esp + 0x60]
push dword [esp + 0x14]
push dword [esp + 0x30]
lea eax, [esp + 0x64]
push eax
call fcn.101649c0
add esp, 0xc
test eax, eax
je 0x10012070
mov ecx, dword [esp + 0x1c]
mov eax, ecx
and eax, 0xff00
shr ecx, 0x10
or ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], 0
mov ecx, esi
mov edx, dword [esp + 0x18]
push dword [esp + 0x60]
call fcn.1000d150
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x10011e50
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10011f8b
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x40]
mov word [esi + 0x42], ax
mov edi, dword [esi + 0x4c]
mov eax, dword [esi + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
setae cl
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x4c], eax
je 0x1001207d
mov eax, dword [esp + 0x18]
mul dword [esp + 0x20]
mov ebx, edx
add eax, 0x20
mov dword [esp], eax
adc ebx, 0
mov eax, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
push dword [esp + 4]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x54]
call ecx
add esp, 0x14
mov dword [esp], eax
test eax, eax
jne 0x10011e50
inc dword [esp + 0x18]
mov ecx, esi
lea edx, [esp + 0x60]
push dword [esp + 0x14]
push dword [esp + 0x30]
lea eax, [esp + 0x64]
push eax
call fcn.101649c0
add esp, 0xc
mov dword [esp], 0
test eax, eax
jne 0x10011f4a
jmp 0x10011e50
push 0x101db30a
push 0xfd2c
push str.cannot_open_file
push str._s_at_line__d_of___.10s_
push 0xe
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov dword [esp], 0xe
mov dword [esp + 8], 0
xor edi, edi
mov eax, dword [esp]
mov ebx, eax
test eax, eax
mov eax, dword [esp + 8]
je 0x100117f6
jmp 0x10011a0f
push dword [esp + 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
jmp 0x1001204c
mov dword [esp + 0xc], 0
jmp 0x10011e50
mov dword [esp], 0
jmp 0x10011e50