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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x10310644]
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.1011ef90
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1012b605
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1012b605
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1012b3ea
lea eax, [esp + 0xc]
mov ecx, edi
push esi
push eax
lea edx, [esi + 0xf]
call fcn.10127db0
mov esi, eax
add esp, 8
test esi, esi
je 0x1012b334
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x1012b3d9
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.BasicBusinessConfigCenter.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.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_step
add esp, 0x24
cmp eax, 0x64
jne 0x1012b3b6
push 0
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_column_int64
add esp, 8
mov dword [esp + 0x1c], edx
jmp 0x1012b3c2
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
push esi
mov dword [esp + 0x24], eax
call sym.BasicBusinessConfigCenter.dll_sqlite3_reset
mov edi, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x1c]
mov esi, eax
test esi, esi
jne 0x1012b605
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
jmp 0x1012b3fe
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 0x1012b432
cmp ecx, 1
jne 0x1012b41c
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
jne 0x1012b41c
lea esi, [ecx + 0x64]
jmp 0x1012b605
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, 3
mov dword [esp + 0x24], edx
jmp 0x1012b553
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.10127db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1012b52b
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.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_step
add esp, 0x14
cmp eax, 0x64
jne 0x1012b4ee
push 0
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_column_int
add esp, 8
mov dword [esp + 0x74], eax
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_reset
mov esi, eax
add esp, 4
test esi, esi
jne 0x1012b52b
mov eax, dword [esp + 0x74]
cmp eax, 0x10
jl 0x1012b527
push dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.1012b270
add esp, 8
mov dword [esp + 0x2c], 0
mov esi, eax
jmp 0x1012b52b
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x1012b54e
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jl 0x1012b54e
jg 0x1012b547
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jbe 0x1012b54e
mov eax, 3
jmp 0x1012b553
mov eax, 1
test esi, esi
jne 0x1012b605
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.1012a5a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1012b605
nop word [eax + eax]
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.1012a6b0
mov esi, eax
cmp esi, 0x64
jne 0x1012b624
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.10129f10
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1012b5a0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1012b605
push dword [edi + 0x30]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
push dword [edi + 0x24]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
mov ecx, dword [edi]
add esp, 4
call fcn.10129dc0
push edi
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
lea ecx, [esp + 0x38]
call fcn.1012ae00
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1012b5d7
cmp dword [ebp + 0xc], 0xffffffff
je 0x1012b7c7
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
nop
cmp eax, dword [esp + 0x3c]
jge 0x1012b6c1
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 0x1012b6af
push ecx
lea eax, [esp + 0x7c]
lea edx, [ecx + 0x11]
mov ecx, edi
push eax
call fcn.10127db0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x1012b6af
push dword [esi + 0xc]
push dword [esi + 8]
mov esi, dword [esp + 0x80]
push 1
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
mov eax, dword [esp + 0x40]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push 2
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_step
add esp, 0x24
push esi
call sym.BasicBusinessConfigCenter.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 0x1012b640
jmp 0x1012b7bd
test ecx, ecx
jne 0x1012b7bd
cmp dword [ebp + 0xc], 0xfffffffe
lea eax, [esp + 0xc]
push ecx
mov ecx, edi
push eax
jne 0x1012b75a
mov edx, 0x1a
call fcn.10127db0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x1012b7bd
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.BasicBusinessConfigCenter.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.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
add esp, 0x20
jmp 0x1012b7a9
mov edx, 0x10
call fcn.10127db0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x1012b7bd
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.BasicBusinessConfigCenter.dll_sqlite3_bind_int64
add esp, 0x10
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_step
add esp, 4
push esi
call sym.BasicBusinessConfigCenter.dll_sqlite3_reset
add esp, 4
mov ecx, eax
mov esi, ecx
test ecx, ecx
jne 0x1012b5d7
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1012b605
cmp dword [edi], 0
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
push esi
je 0x1012b8a0
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.10129760
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1012b8cd
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.10129cb0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x1012b8cd
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 0x1012b8b3
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.101297f0
mov esi, eax
add esp, 0x30
mov eax, dword [esp + 8]
inc dword [eax + 0x34]
test esi, esi
jne 0x1012b5db
cmp dword [ebp + 0xc], 0xffffffff
mov edx, dword [esp + 0x24]
je 0x1012b902
cmp edx, dword [esp + 0x1c]
jg 0x1012b5db
mov ecx, dword [esp + 0x18]
jl 0x1012b906
cmp ecx, dword [esp + 0x20]
jae 0x1012b5db
jmp 0x1012b906
mov ecx, dword [esp + 0x18]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edx
push ecx
mov ecx, eax
call fcn.1012b040
add esp, 0x10
mov esi, eax
jmp 0x1012b5db