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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0xc], 0
mov edx, dword [ebx]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], cx
cmp dword [edx + 0xc8], 1
jle 0x100840e4
mov esi, dword [esp + 0x68]
mov al, byte [esi]
test al, al
je 0x1008447b
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x1008405d
mov al, byte [esi]
test al, al
jne 0x10084052
mov edx, dword [esp + 0x30]
add edx, 3
cmp edx, dword [esp + 0x28]
jb 0x10084080
push 3
lea eax, [esp + 0x24]
push 0x100b4458
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x10084098
mov ax, word [0x100b4458]
mov dword [esp + 0x30], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x100b445a]
mov byte [edx + ecx - 1], al
mov edx, dword [esp + 0x30]
mov ecx, esi
sub ecx, edi
add edx, ecx
cmp edx, dword [esp + 0x28]
jb 0x100840b6
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.100277e0
jmp 0x100840ce
test ecx, ecx
je 0x100840d1
mov eax, dword [esp + 0x24]
push ecx
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x10084417
mov ecx, dword [esp + 0x24]
jmp 0x10084050
cmp word [ebx + 0x10], cx
jne 0x10084133
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x10084108
xor ecx, ecx
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x10084417
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10084110
sub ecx, esi
lea eax, [esp + 0x20]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x10084417
mov ebx, dword [esp + 0x68]
cmp byte [ebx], cl
je 0x1008447b
push ebp
xor edi, edi
mov esi, ebx
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10061190
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x10084169
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x10084146
jmp 0x1008416b
mov ebp, eax
mov ecx, dword [esp + 0x34]
add ecx, edi
cmp ecx, dword [esp + 0x2c]
jb 0x10084185
push edi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.100277e0
jmp 0x1008419d
test edi, edi
je 0x100841a0
mov eax, dword [esp + 0x28]
push edi
sub eax, edi
mov dword [esp + 0x38], ecx
add eax, ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x10084416
cmp byte [ebx], 0x3f
jne 0x100841d1
cmp ebp, 1
jle 0x100841cb
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 1]
push eax
call fcn.10060f70
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x100841e9
mov eax, dword [esp + 0x14]
jmp 0x100841e5
mov eax, dword [esp + 0x68]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.1007a680
add esp, 0xc
mov dword [esp + 0x10], eax
lea ecx, [eax + 1]
add ebx, ebp
cmp ecx, dword [esp + 0x14]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x68]
lea edi, [edi - 5]
cmovle ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x64]
lea edi, [eax + edi*8]
movzx eax, word [edi + 0x10]
test al, 1
je 0x1008424e
mov ecx, dword [esp + 0x34]
add ecx, 4
cmp ecx, dword [esp + 0x2c]
jb 0x10084239
push 4
lea eax, [esp + 0x28]
push str.NULL
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x1008440d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x1008440d
test al, 0x24
je 0x1008426e
push dword [edi + 4]
lea eax, [esp + 0x28]
push dword [edi]
push str._lld
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x1008440d
test al, 8
je 0x10084295
movsd xmm0, qword [edi]
lea eax, [esp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x1008440d
test al, 2
je 0x10084362
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x10084318
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
push 0
push dword [esp + 0x1c]
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x58], ecx
movq qword [esp + 0x64], xmm0
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
push dword [edi + 8]
lea eax, [esp + 0x50]
push eax
call fcn.10085d80
add esp, 0x18
test byte [esp + 0x4c], 2
jne 0x100842ed
mov byte [esp + 0x4e], 1
jmp 0x10084314
cmp byte [esp + 0x4e], 1
je 0x10084314
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.10086380
add esp, 8
cmp eax, 7
jne 0x10084314
mov byte [esp + 0x38], al
mov dword [esp + 0x2c], 0
lea edi, [esp + 0x3c]
push dword [edi + 8]
lea eax, [esp + 0x28]
push dword [edi + 0xc]
push str._.q
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x1008440d
test dword [esp + 0x4c], 0x9000
jne 0x10084350
cmp dword [esp + 0x54], 0
je 0x1008440d
lea eax, [esp + 0x3c]
push eax
call fcn.100978d0
add esp, 4
jmp 0x1008440d
test eax, 0x400
je 0x10084382
push dword [edi]
lea eax, [esp + 0x28]
push str.zeroblob__d_
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0xc
jmp 0x1008440d
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, dword [esp + 0x2c]
jb 0x100843a5
push 2
lea eax, [esp + 0x28]
push 0x100b4474
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x100843b7
mov eax, dword [esp + 0x28]
mov edx, 0x2778
mov dword [esp + 0x34], ecx
mov word [ecx + eax - 2], dx
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x100843df
mov eax, dword [edi + 8]
movzx eax, byte [eax + esi]
push eax
lea eax, [esp + 0x28]
push str._02x
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x100843c0
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x10084400
push 1
lea eax, [esp + 0x28]
push 0x100b4480
push eax
call fcn.100277e0
add esp, 0xc
jmp 0x1008440d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [ebx], 0
jne 0x10084140
pop ebp
cmp byte [esp + 0x34], 0
je 0x10084445
test byte [esp + 0x35], 4
je 0x1008443a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1008443a
push eax
push dword [esp + 0x24]
call fcn.10053c30
add esp, 8
pop edi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1008447b
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
cmp dword [esp + 0x2c], 0
jbe 0x10084477
test byte [esp + 0x35], 4
jne 0x10084477
lea eax, [esp + 0x20]
push eax
call fcn.10093610
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret