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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102d4008]
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.100eeb50
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100fb1c5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100fb1c5
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x100fafaa
lea eax, [esp + 0xc]
mov ecx, edi
push esi
push eax
lea edx, [esi + 0xf]
call fcn.100f7970
mov esi, eax
add esp, 8
test esi, esi
je 0x100faef4
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x100faf99
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 0x100faf76
push 0
push esi
call sym.BasicSQLite.dll_sqlite3_column_int64
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x100faf82
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 0x100fb1c5
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
jmp 0x100fafbe
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 0x100faff2
cmp ecx, 1
jne 0x100fafdc
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
jne 0x100fafdc
lea esi, [ecx + 0x64]
jmp 0x100fb1c5
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, 3
mov dword [esp + 0x24], edx
jmp 0x100fb113
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.100f7970
mov esi, eax
add esp, 8
test esi, esi
jne 0x100fb0eb
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 0x100fb0ae
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 0x100fb0eb
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jl 0x100fb0e7
push dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.100fae30
add esp, 8
mov dword [esp + 0x2c], 0
mov esi, eax
jmp 0x100fb0eb
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x100fb10e
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jl 0x100fb10e
jg 0x100fb107
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jbe 0x100fb10e
mov eax, 3
jmp 0x100fb113
mov eax, 1
test esi, esi
jne 0x100fb1c5
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.100fa160
mov esi, eax
add esp, 8
test esi, esi
jne 0x100fb1c5
nop word [eax + eax]
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.100fa270
mov esi, eax
cmp esi, 0x64
jne 0x100fb1e4
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.100f9ad0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100fb160
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100fb1c5
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.100f9980
push edi
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
lea ecx, [esp + 0x38]
call fcn.100fa9c0
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100fb197
cmp dword [ebp + 0xc], 0xffffffff
je 0x100fb387
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
nop
cmp eax, dword [esp + 0x3c]
jge 0x100fb281
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 0x100fb26f
push ecx
lea eax, [esp + 0x7c]
lea edx, [ecx + 0x11]
mov ecx, edi
push eax
call fcn.100f7970
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100fb26f
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 0x100fb200
jmp 0x100fb37d
test ecx, ecx
jne 0x100fb37d
cmp dword [ebp + 0xc], 0xfffffffe
lea eax, [esp + 0xc]
push ecx
mov ecx, edi
push eax
jne 0x100fb31a
mov edx, 0x1a
call fcn.100f7970
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100fb37d
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 0x100fb369
mov edx, 0x10
call fcn.100f7970
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100fb37d
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 0x100fb197
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100fb1c5
cmp dword [edi], 0
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
push esi
je 0x100fb460
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.100f9320
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100fb48d
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.100f9870
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x100fb48d
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 0x100fb473
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.100f93b0
mov esi, eax
add esp, 0x30
mov eax, dword [esp + 8]
inc dword [eax + 0x34]
test esi, esi
jne 0x100fb19b
cmp dword [ebp + 0xc], 0xffffffff
mov edx, dword [esp + 0x24]
je 0x100fb4c2
cmp edx, dword [esp + 0x1c]
jg 0x100fb19b
mov ecx, dword [esp + 0x18]
jl 0x100fb4c6
cmp ecx, dword [esp + 0x20]
jae 0x100fb19b
jmp 0x100fb4c6
mov ecx, dword [esp + 0x18]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edx
push ecx
mov ecx, eax
call fcn.100fac00
add esp, 0x10
mov esi, eax
jmp 0x100fb19b