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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x102d4008]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ecx
test edi, edi
je 0x1007a49b
cmp byte [edi], cl
je 0x1007a49b
xor esi, esi
jmp 0x1007a4a0
mov esi, 1
test edi, edi
je 0x1007a4dd
mov ecx, str.:memory:
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007a4d0
test dl, dl
je 0x1007a4cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007a4d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007a4b0
xor eax, eax
jmp 0x1007a4d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1007a4f5
mov eax, dword [esp + 0x14]
test esi, esi
je 0x1007a4e7
cmp byte [eax + 0x50], 2
je 0x1007a4f5
mov eax, dword [ebp + 0x14]
test al, al
js 0x1007a4f8
mov ecx, dword [ebp + 0x10]
xor edx, edx
jmp 0x1007a503
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, 1
or ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
test eax, 0x100
je 0x1007a527
test edx, edx
jne 0x1007a51a
test esi, esi
je 0x1007a527
and eax, 0xfffffeff
or eax, 0x200
mov dword [ebp + 0x14], eax
push 0
push 0x30
call fcn.10065db0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1007a5d9
push 0x30
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 0x20], ebx
mov dword [ebx + 0x24], 1
test esi, esi
jne 0x1007a74a
mov eax, dword [ebp + 0x14]
cmp dword [esp + 0x28], esi
je 0x1007a573
test al, 0x40
je 0x1007a74a
test eax, 0x20000
je 0x1007a74a
test edi, edi
jne 0x1007a586
xor ecx, ecx
jmp 0x1007a59f
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a590
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [esp + 0x20]
lea esi, [ecx + 1]
mov eax, dword [eax + 8]
lea edi, [eax + 1]
cmp edi, esi
cmovg ecx, eax
mov eax, ecx
cdq
add eax, 1
adc edx, 0
push edx
push eax
call fcn.10065db0
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [ebx + 9], 1
test eax, eax
jne 0x1007a5f3
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x28], 0
je 0x1007a680
push esi
push dword [esp + 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, 4
call fcn.10065990
mov dword [esp + 0x34], eax
test eax, eax
je 0x1007a628
push eax
call dword [0x102d5570]
add esp, 4
mov ecx, 2
call fcn.10065990
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1007a644
push eax
call dword [0x102d5570]
add esp, 4
mov edi, dword [0x102e1f68]
test edi, edi
je 0x1007a724
mov esi, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xa8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007a6d0
test dl, dl
je 0x1007a67c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007a6d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007a660
xor eax, eax
jmp 0x1007a6d5
push eax
mov byte [eax], 0
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x2c]
push eax
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x1007a60c
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007a6e1
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
je 0x1007a6ee
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x1007a652
jmp 0x1007a724
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x1007a71e
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x1007a716
cmp dword [eax + 4], edi
je 0x1007a805
sub ecx, 0x10
sub edx, 1
jns 0x1007a707
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007a736
push eax
call dword [0x102d5578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
test edi, edi
jne 0x1007a9b5
push 0
push 0x58
call fcn.10065db0
mov edi, eax
add esp, 8
test edi, edi
je 0x1007aacd
push 0x58
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x1007aacd
push ecx
push dword [ebp + 0x14]
mov edx, edi
push dword [esp + 0x38]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
call fcn.100731c0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007aad5
mov edx, dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x84], eax
call fcn.10072680
mov esi, dword [edi]
lea eax, [esp + 0x38]
push 0x64
push 0
push eax
mov dword [esp + 0x1c], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3c]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1007a858
push 0
push 0
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
xor ecx, ecx
add esp, 0x14
cmp eax, 0x20a
cmove eax, ecx
mov dword [esp + 0x10], eax
jmp 0x1007a85a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007a817
push eax
call dword [0x102d5578]
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1007a829
push ecx
call dword [0x102d5578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret
xor eax, eax
test eax, eax
jne 0x1007aad5
mov eax, dword [esp + 0x30]
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + 0xb0], 0x1007a3f0
lea ecx, [eax + 0xb0]
mov dword [eax + 0xb4], edi
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x1007a89d
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov dword [ebx + 4], edi
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp byte [eax + 0xe], 0
je 0x1007a8bb
or word [edi + 0x18], 1
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [edi + 0x24], ecx
cmp ecx, 0x200
jb 0x1007a90e
cmp ecx, 0x10000
ja 0x1007a90e
lea eax, [ecx - 1]
test ecx, eax
jne 0x1007a90e
mov cl, byte [esp + 0x4c]
or word [edi + 0x18], 2
mov eax, dword [esp + 0x6c]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x11], al
mov eax, dword [esp + 0x78]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x12], al
jmp 0x1007a92b
cmp dword [esp + 0x24], 0
mov dword [edi + 0x24], 0
je 0x1007a929
cmp dword [esp + 0x28], 0
jne 0x1007a929
mov word [edi + 0x11], 0
xor cl, cl
movzx eax, cl
lea edx, [edi + 0x24]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x30], eax
call fcn.10072720
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007aad5
mov eax, dword [edi + 0x24]
sub eax, dword [esp + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x44], 1
mov al, byte [ebx + 9]
test al, al
je 0x1007a9b5
mov ecx, 2
call fcn.10065990
cmp byte [0x102d5524], 0
mov esi, eax
je 0x1007a98b
xor ecx, ecx
call fcn.10065990
mov dword [edi + 0x3c], eax
test eax, eax
je 0x1007aacd
test esi, esi
je 0x1007a999
push esi
call dword [0x102d5570]
add esp, 4
mov eax, dword [0x102e1f68]
mov dword [edi + 0x48], eax
mov dword [0x102e1f68], edi
test esi, esi
je 0x1007a9b5
push esi
call dword [0x102d5578]
add esp, 4
mov al, byte [ebx + 9]
test al, al
je 0x1007aa38
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x1007aa38
mov ecx, dword [eax + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x1007a9df
cmp byte [eax + 9], 0
jne 0x1007a9e9
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x1007a9d3
jmp 0x1007aa38
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1007a9f9
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x1007a9f0
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x1007aa10
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x1007aa38
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1007aa25
cmp dword [ecx + 4], edx
jae 0x1007aa25
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1007aa17
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x1007aa35
mov dword [ecx + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov esi, dword [esp + 0x18]
mov dword [esi], ebx
cmp dword [esp + 0x10], 0
jne 0x1007aad9
mov al, byte [ebx + 9]
mov esi, dword [ebx + 4]
test al, al
je 0x1007aa77
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x1007aa66
mov ecx, ebx
call fcn.10078580
mov al, byte [ebx + 9]
test al, al
je 0x1007aa77
add dword [ebx + 0xc], 0xffffffff
jne 0x1007aa77
mov ecx, ebx
call fcn.10078540
cmp dword [esi + 0x34], 0
jne 0x1007aab1
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov esi, dword [eax + 0xe4]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
cdq
push edx
push eax
push 0
push 0x1f4000
mov dword [esi + 0x10], 0xfffff830
call fcn.101810b0
push eax
push dword [esi + 0x2c]
call dword [0x102d5598]
add esp, 8
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
test edx, edx
je 0x1007ab02
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
jmp 0x1007ab02
mov dword [esp + 0x10], 7
mov esi, dword [esp + 0x18]
test edi, edi
je 0x1007aaea
mov ecx, dword [edi]
test ecx, ecx
je 0x1007aaea
xor edx, edx
call fcn.100729a0
push edi
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1007ab14
push eax
call dword [0x102d5578]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret