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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
mov esi, edx
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
push edi
xor edi, edi
mov dword [esp + 0x48], edx
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x44], ecx
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x10], ecx
jne 0x101320e9
push ecx
push ecx
push 0x102e39fc
push edx
jmp 0x101324f1
xorps xmm0, xmm0
lea eax, [esp + 0x3c]
push eax
xor edx, edx
movaps xmmword [esp + 0x54], xmm0
mov ecx, esi
movaps xmmword [esp + 0x64], xmm0
call fcn.1012ff90
mov esi, eax
add esp, 4
test esi, esi
jne 0x1013220c
call sym.BasicBusinessConfigCenter.dll_sqlite3_initialize
test eax, eax
jne 0x101324d7
mov eax, dword [esp + 0x3c]
push esi
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.100961d0
add esp, 8
mov dword [esp + 0x68], eax
test eax, eax
je 0x101324d7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [edx + 0x18], eax
jle 0x1013220c
nop word [eax + eax]
mov ecx, dword [ecx + 0x10]
mov edx, 0x10131ff0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x5c], 0
call fcn.1012fef0
mov eax, dword [esp + 0x3c]
add esp, 4
inc eax
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
call sym.BasicBusinessConfigCenter.dll_sqlite3_column_text
push dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x24]
push dword [eax + 0xc]
call sym.BasicBusinessConfigCenter.dll_sqlite3_column_bytes
add esp, 0x10
test edi, edi
jne 0x10132267
mov eax, dword [esp + 0x18]
push dword [esp + 0x34]
push dword [eax + 0xc]
call sym.BasicBusinessConfigCenter.dll_sqlite3_column_type
add esp, 8
cmp eax, 5
je 0x101324b9
lea esi, [edi + 7]
mov edi, dword [esp + 0x14]
push dword [esp + 0x68]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
mov eax, dword [esp + 0x20]
add esp, 4
push dword [eax + 0xf8]
call sym.BasicBusinessConfigCenter.dll_sqlite3_blob_close
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 0xf8], 0
test esi, esi
je 0x101324e1
push esi
push dword [esp + 0x4c]
call sym.BasicBusinessConfigCenter.dll_sqlite3_result_error_code
push edi
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edi
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x24]
call fcn.10124250
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10132208
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x44]
push dword [esp + 0x40]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10132499
nop dword [eax]
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov esi, closesocket
test ecx, ecx
jle 0x10132494
mov eax, dword [esp + 0x68]
mov edx, ecx
nop dword [eax]
cmp dword [eax], 0
je 0x10132303
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
cmp ecx, esi
jge 0x10132303
mov esi, ecx
mov edi, eax
add eax, 0xc
sub edx, 1
jne 0x101322f0
mov dword [esp + 0x24], edi
test edi, edi
je 0x10132494
mov ecx, dword [edi]
mov al, byte [ecx]
test al, 0xfe
jne 0x10132323
mov dword [edi], edx
jmp 0x1013234e
test al, al
jns 0x10132338
lea edx, [esp + 0x40]
call fcn.1011b4f0
mov ecx, dword [edi]
mov edx, dword [esp + 0x40]
jmp 0x10132344
movzx edx, al
mov eax, 1
mov dword [esp + 0x40], edx
add eax, ecx
mov dword [edi], eax
lea eax, [edx - 2]
add dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x78], esi
jge 0x1013238e
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x40]
mov eax, dword [edi + 0x14]
call eax
add esp, 0x18
test eax, eax
je 0x10132356
mov edi, dword [esp + 0x24]
test eax, eax
jne 0x1013247d
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
sub eax, ecx
sub edi, dword [esp + 0x68]
push eax
mov eax, 0x2aaaaaab
imul edi
push ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x98]
push str._d__d__d__d
push eax
push 0x40
call sym.BasicBusinessConfigCenter.dll_sqlite3_snprintf
lea esi, [esp + 0xa4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x101323e3
mov eax, dword [esp + 0x20]
sub esi, ecx
mov edi, dword [esp + 0x44]
add eax, esi
mov dword [esp + 0x24], eax
inc eax
cmp eax, edi
jl 0x1013243f
mov eax, edi
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
add edi, eax
adc ecx, edx
add edi, 0x64
adc ecx, 0
mov dword [esp + 0x28], ecx
call sym.BasicBusinessConfigCenter.dll_sqlite3_initialize
test eax, eax
jne 0x10132476
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push edi
call fcn.100964f0
add esp, 8
test eax, eax
je 0x10132476
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edi
jmp 0x10132443
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x88]
push esi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov byte [ecx + eax], 0
jmp 0x101322d0
mov eax, 7
jmp 0x10132499
cmp eax, 0x65
jne 0x10132499
mov edx, dword [esp + 0x1c]
mov ecx, 0x10b
cmp dword [edx + 0x28], 0
cmove eax, ecx
jmp 0x10132499
mov eax, 0x65
push dword [esp + 0x2c]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x10132208
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 0x18]
jge 0x10132208
mov ecx, dword [esp + 0x18]
jmp 0x10132170
mov esi, 7
jmp 0x1013220c
mov eax, dword [esp + 0x20]
push sym.BasicBusinessConfigCenter.dll_sqlite3_free
dec eax
push eax
push edi
push dword [esp + 0x54]
call sym.BasicBusinessConfigCenter.dll_sqlite3_result_text
mov ecx, dword [esp + 0xdc]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret