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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
push 0x38
lea eax, [esp + 0x3c]
mov dword [esp + 0x30], 0
mov esi, edx
mov dword [esp + 0x18], 0
mov edi, ecx
mov dword [esp + 0x14], esi
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
push 0
push eax
movlpd qword [esp + 0x84], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x38]
mov edx, esi
mov ecx, edi
push eax
push 0
push 1
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ee490
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100fab05
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100fab05
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x100fa8ea
lea eax, [esp + 0xc]
mov ecx, edi
push esi
push eax
lea edx, [esi + 0xf]
call fcn.100f72b0
mov esi, eax
add esp, 8
test esi, esi
je 0x100fa834
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x100fa8d9
mov eax, dword [ebp + 8]
mov ecx, 0x400
imul ecx
mov ecx, dword [esp + 8]
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
adc edx, edi
push edx
push eax
push 1
push dword [esp + 0x18]
call sym.BasicSQLite.dll_sqlite3_bind_int64
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
mov esi, dword [esp + 0x1c]
adc edx, edi
add eax, 0x3ff
adc edx, 0
push edx
push eax
push 2
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
push esi
call sym.BasicSQLite.dll_sqlite3_step
add esp, 0x24
cmp eax, 0x64
jne 0x100fa8b6
push 0
push esi
call sym.BasicSQLite.dll_sqlite3_column_int64
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x100fa8c2
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
push esi
mov dword [esp + 0x24], eax
call sym.BasicSQLite.dll_sqlite3_reset
mov edi, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x1c]
mov esi, eax
test esi, esi
jne 0x100fab05
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
jmp 0x100fa8fe
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x1c], edx
cmp eax, 0xfffffffe
jne 0x100fa932
cmp ecx, 1
jne 0x100fa91c
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
jne 0x100fa91c
lea esi, [ecx + 0x64]
jmp 0x100fab05
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, 3
mov dword [esp + 0x24], edx
jmp 0x100faa53
inc eax
mov ecx, 0x400
mov dword [esp + 0x78], eax
cdq
mov esi, eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 8]
imul ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], edx
imul dword [edi + 0xfc]
mov ecx, edx
mov edx, 8
shld ecx, eax, 0xa
shl eax, 0xa
add eax, esi
adc ecx, dword [esp + 0xc]
add eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
adc ecx, dword [esp + 0x70]
xor eax, eax
push eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, edi
push eax
call fcn.100f72b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100faa2b
mov eax, dword [esp + 0x10]
imul dword [edi + 0xfc]
mov esi, dword [esp + 0x30]
shld edx, eax, 0xa
shl eax, 0xa
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0xc]
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x70]
push edx
push eax
push 1
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
push esi
call sym.BasicSQLite.dll_sqlite3_step
add esp, 0x14
cmp eax, 0x64
jne 0x100fa9ee
push 0
push esi
call sym.BasicSQLite.dll_sqlite3_column_int
add esp, 8
mov dword [esp + 0x74], eax
push esi
call sym.BasicSQLite.dll_sqlite3_reset
mov esi, eax
add esp, 4
test esi, esi
jne 0x100faa2b
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jl 0x100faa27
push dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.100fa770
add esp, 8
mov dword [esp + 0x2c], 0
mov esi, eax
jmp 0x100faa2b
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x100faa4e
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jl 0x100faa4e
jg 0x100faa47
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jbe 0x100faa4e
mov eax, 3
jmp 0x100faa53
mov eax, 1
test esi, esi
jne 0x100fab05
xorps xmm0, xmm0
lea edx, [esp + 0x38]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
push dword [esp + 0x84]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x84]
push dword [esp + 0x84]
mov dword [esp + 0x4c], eax
call fcn.100f9aa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100fab05
nop word [eax + eax]
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.100f9bb0
mov esi, eax
cmp esi, 0x64
jne 0x100fab24
push dword [esp + 0x6c]
lea edx, [esp + 0x18]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.100f9410
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100faaa0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100fab05
push dword [edi + 0x30]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push dword [edi + 0x24]
call sym.BasicSQLite.dll_sqlite3_free
mov ecx, dword [edi]
add esp, 4
call fcn.100f92c0
push edi
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
lea ecx, [esp + 0x38]
call fcn.100fa300
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100faad7
cmp dword [ebp + 0xc], 0xffffffff
je 0x100facc7
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
nop
cmp eax, dword [esp + 0x3c]
jge 0x100fabc1
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + eax*4]
xor ecx, ecx
mov dword [esp + 0x30], esi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x100fabaf
push ecx
lea eax, [esp + 0x7c]
lea edx, [ecx + 0x11]
mov ecx, edi
push eax
call fcn.100f72b0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100fabaf
push dword [esi + 0xc]
push dword [esi + 8]
mov esi, dword [esp + 0x80]
push 1
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
mov eax, dword [esp + 0x40]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push 2
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
push esi
call sym.BasicSQLite.dll_sqlite3_step
add esp, 0x24
push esi
call sym.BasicSQLite.dll_sqlite3_reset
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x100fab40
jmp 0x100facbd
test ecx, ecx
jne 0x100facbd
cmp dword [ebp + 0xc], 0xfffffffe
lea eax, [esp + 0xc]
push ecx
mov ecx, edi
push eax
jne 0x100fac5a
mov edx, 0x1a
call fcn.100f72b0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100facbd
mov eax, dword [ebp + 8]
mov ecx, 0x400
imul ecx
mov ecx, dword [esp + 8]
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
adc edx, edi
push edx
push eax
push 1
push dword [esp + 0x18]
call sym.BasicSQLite.dll_sqlite3_bind_int64
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
imul dword [ecx + 0xfc]
shld edx, eax, 0xa
shl eax, 0xa
add eax, esi
mov esi, dword [esp + 0x1c]
adc edx, edi
add eax, 0x3ff
adc edx, 0
push edx
push eax
push 2
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
add esp, 0x20
jmp 0x100faca9
mov edx, 0x10
call fcn.100f72b0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100facbd
mov eax, dword [esp + 0x10]
imul dword [edi + 0xfc]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 8]
mov edx, 0x400
imul edx
shld ecx, esi, 0xa
shl esi, 0xa
add esi, eax
mov eax, dword [ebp + 0xc]
adc ecx, edx
cdq
add esi, eax
adc ecx, edx
push ecx
push esi
mov esi, dword [esp + 0x14]
push 1
push esi
call sym.BasicSQLite.dll_sqlite3_bind_int64
add esp, 0x10
push esi
call sym.BasicSQLite.dll_sqlite3_step
add esp, 4
push esi
call sym.BasicSQLite.dll_sqlite3_reset
add esp, 4
mov ecx, eax
mov esi, ecx
test ecx, ecx
jne 0x100faad7
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100fab05
cmp dword [edi], 0
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
push esi
je 0x100fada0
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, eax
push dword [esp + 0x18]
mov dword [esp + 0x30], eax
add ecx, 1
mov eax, dword [esp + 0x1c]
push dword [esp + 0x30]
adc eax, 0
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x14]
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [edi + 0x14], eax
call fcn.100f8c60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100fadcd
mov edx, dword [edi]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x80]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 8]
push 1
call fcn.100f91b0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x100fadcd
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [edi + 0xc]
push dword [edi + 8]
jmp 0x100fadb3
push edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
call fcn.100f8cf0
mov esi, eax
add esp, 0x30
mov eax, dword [esp + 8]
inc dword [eax + 0x34]
test esi, esi
jne 0x100faadb
cmp dword [ebp + 0xc], 0xffffffff
mov edx, dword [esp + 0x24]
je 0x100fae02
cmp edx, dword [esp + 0x1c]
jg 0x100faadb
mov ecx, dword [esp + 0x18]
jl 0x100fae06
cmp ecx, dword [esp + 0x20]
jae 0x100faadb
jmp 0x100fae06
mov ecx, dword [esp + 0x18]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edx
push ecx
mov ecx, eax
call fcn.100fa540
add esp, 0x10
mov esi, eax
jmp 0x100faadb