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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, dword [ecx]
mov esi, edx
xor edx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 1
mov eax, dword [edi + 0x78]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], dx
cmp dword [edi + 0xc8], 1
mov dword [esp + 0x34], edi
jle 0x100321d4
mov al, byte [esi]
test al, al
je 0x1003265b
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x1003214d
mov al, byte [esi]
test al, al
jne 0x10032142
mov ecx, dword [esp + 0x48]
add ecx, 3
cmp ecx, dword [esp + 0x40]
jb 0x1003216f
push 3
mov edx, 0x10108dd8
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x10032187
mov ax, word [0x10108dd8]
mov dword [esp + 0x48], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x10108dda]
mov byte [ecx + edx - 1], al
mov eax, dword [esp + 0x48]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x40]
jb 0x100321a8
push ecx
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x100321c1
test ecx, ecx
je 0x100321c1
mov dword [esp + 0x48], eax
sub eax, ecx
add eax, dword [esp + 0x3c]
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x10032531
mov edx, dword [esp + 0x3c]
jmp 0x10032140
cmp word [ecx + 0x10], dx
jne 0x10032223
test esi, esi
jne 0x100321f4
xor ecx, ecx
mov edx, esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x10032531
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032200
sub ecx, edx
mov edx, esi
and ecx, 0x3fffffff
push ecx
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x10032531
cmp byte [esi], dl
je 0x1003265b
mov edx, 1
mov dword [esp + 0x30], edx
mov edi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
nop word [eax + eax]
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.100a4880
cmp dword [esp + 0x28], 0x9b
mov ecx, dword [esp + 0x18]
je 0x1003227c
add edi, eax
add ecx, eax
mov dword [esp + 0x18], ecx
cmp byte [edi], 0
jne 0x10032250
mov edi, dword [esp + 0x2c]
jmp 0x1003227e
mov edi, eax
mov eax, dword [esp + 0x48]
add eax, ecx
cmp eax, dword [esp + 0x40]
jb 0x1003229b
push ecx
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x100322b4
test ecx, ecx
je 0x100322b8
mov dword [esp + 0x48], eax
sub eax, ecx
add eax, dword [esp + 0x3c]
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x18]
add esi, ecx
test edi, edi
je 0x10032531
cmp byte [esi], 0x3f
jne 0x100322e4
cmp edi, 1
jle 0x100322de
lea ecx, [esi + 1]
lea edx, [esp + 0x1c]
call fcn.10009750
mov eax, dword [esp + 0x1c]
jmp 0x100322fd
mov eax, dword [esp + 0x14]
jmp 0x100322f9
mov ecx, dword [esp + 0x20]
mov edx, esi
push edi
mov ecx, dword [ecx + 0x88]
call fcn.1000a100
add esp, 4
mov dword [esp + 0x1c], eax
add esi, edi
lea edx, [eax + 1]
cmp edx, dword [esp + 0x30]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x20]
lea edi, [edi - 5]
cmovle edx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x6c]
lea edi, [eax + edi*8]
movzx eax, word [edi + 8]
mov dword [esp + 0x30], edi
test al, 1
je 0x10032369
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp ecx, dword [esp + 0x40]
jb 0x10032354
push 4
mov edx, str.NULL
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x10032524
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov dword [ecx + eax - 4], 0x4c4c554e
jmp 0x10032528
test al, 0x24
je 0x10032389
push dword [edi + 4]
lea eax, [esp + 0x3c]
push dword [edi]
push 0x1010772c
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x10032524
test al, 8
je 0x100323b0
movsd xmm0, qword [edi]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
jmp 0x10032524
test al, 2
je 0x1003246d
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 0x50]
mov byte [esp + 0x24], al
cmp al, 1
je 0x10032427
xorps xmm0, xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [edi + 0xc]
push 0
push dword [esp + 0x28]
cdq
push edx
mov edx, dword [edi + 0x10]
push eax
call fcn.10028550
add esp, 0x10
test byte [esp + 0x58], 2
je 0x10032423
cmp byte [esp + 0x5a], 1
je 0x10032423
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.10008400
cmp eax, 7
jne 0x10032423
mov byte [esp + 0x4c], al
mov dword [esp + 0x40], 0
lea edi, [esp + 0x50]
push dword [edi + 0x10]
lea eax, [esp + 0x3c]
push dword [edi + 0xc]
push str._.q
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0x10
cmp byte [esp + 0x24], 1
je 0x10032524
test dword [esp + 0x58], 0x2400
jne 0x1003245f
cmp dword [esp + 0x68], 0
je 0x10032524
lea ecx, [esp + 0x50]
call fcn.10027d40
jmp 0x10032524
test eax, 0x4000
je 0x1003248d
push dword [edi]
lea eax, [esp + 0x3c]
push str.zeroblob__d_
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
add esp, 0xc
jmp 0x10032524
mov ecx, dword [esp + 0x48]
add ecx, 2
cmp ecx, dword [esp + 0x40]
jb 0x100324af
push 2
mov edx, 0x10108df4
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x100324c1
mov eax, dword [esp + 0x3c]
mov edx, 0x2778
mov dword [esp + 0x48], ecx
mov word [ecx + eax - 2], dx
mov eax, dword [edi + 0xc]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x100324f7
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
movzx eax, byte [edi + eax]
push eax
lea eax, [esp + 0x3c]
push str._02x
push eax
call sym.sqlite3.dll_sqlite3_str_appendf
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x2c]
jl 0x100324d2
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, dword [esp + 0x40]
jb 0x10032517
push 1
mov edx, 0x10108e00
lea ecx, [esp + 0x3c]
call fcn.100076a0
add esp, 4
jmp 0x10032524
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov byte [ecx + eax - 1], 0x27
mov edx, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x10032230
cmp byte [esp + 0x4c], 0
je 0x1003262a
test byte [esp + 0x4d], 4
je 0x10032620
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x10032620
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100325bd
cmp dword [ecx + 0x210], 0
je 0x10032575
mov edx, esi
call fcn.10004c70
xor edx, edx
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0x164]
jae 0x100325bd
cmp esi, dword [ecx + 0x15c]
jb 0x1003259d
mov eax, dword [ecx + 0x158]
xor edx, edx
mov dword [esi], eax
mov eax, edx
mov dword [ecx + 0x158], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0x160]
jb 0x100325bd
mov eax, dword [ecx + 0x150]
xor edx, edx
mov dword [esi], eax
mov eax, edx
mov dword [ecx + 0x150], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x1011d0f8], 0
je 0x10032616
mov eax, dword [0x1011f3e8]
test eax, eax
je 0x100325d9
push eax
call dword [0x1011d148]
add esp, 4
push esi
call dword [0x1011d124]
sub dword [0x1011f200], eax
add esp, 4
dec dword [0x1011f224]
push esi
call dword [0x1011d11c]
mov eax, dword [0x1011f3e8]
add esp, 4
test eax, eax
je 0x10032620
push eax
call dword [0x1011d150]
add esp, 4
xor edx, edx
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [0x1011d11c]
add esp, 4
xor edx, edx
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1003265b
mov eax, dword [esp + 0x48]
mov byte [eax + edx], 0
cmp dword [esp + 0x44], 0
jbe 0x10032657
test byte [esp + 0x4d], 4
jne 0x10032657
lea ecx, [esp + 0x38]
call fcn.10007790
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret