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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x10310644]
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 0x100aa8ab
cmp byte [edi], cl
je 0x100aa8ab
xor esi, esi
jmp 0x100aa8b0
mov esi, 1
test edi, edi
je 0x100aa8ed
mov ecx, str.:memory:
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100aa8e0
test dl, dl
je 0x100aa8dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100aa8e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100aa8c0
xor eax, eax
jmp 0x100aa8e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100aa905
mov eax, dword [esp + 0x14]
test esi, esi
je 0x100aa8f7
cmp byte [eax + 0x50], 2
je 0x100aa905
mov eax, dword [ebp + 0x14]
test al, al
js 0x100aa908
mov ecx, dword [ebp + 0x10]
xor edx, edx
jmp 0x100aa913
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 0x100aa937
test edx, edx
jne 0x100aa92a
test esi, esi
je 0x100aa937
and eax, 0xfffffeff
or eax, 0x200
mov dword [ebp + 0x14], eax
push 0
push 0x30
call fcn.100961d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100aa9e9
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 0x100aab5a
mov eax, dword [ebp + 0x14]
cmp dword [esp + 0x28], esi
je 0x100aa983
test al, 0x40
je 0x100aab5a
test eax, 0x20000
je 0x100aab5a
test edi, edi
jne 0x100aa996
xor ecx, ecx
jmp 0x100aa9af
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100aa9a0
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.100961d0
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [ebx + 9], 1
test eax, eax
jne 0x100aaa03
push ebx
call sym.BasicBusinessConfigCenter.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.101afab5
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x28], 0
je 0x100aaa90
push esi
push dword [esp + 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, 4
call fcn.10095db0
mov dword [esp + 0x34], eax
test eax, eax
je 0x100aaa38
push eax
call dword [0x10311570]
add esp, 4
mov ecx, 2
call fcn.10095db0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100aaa54
push eax
call dword [0x10311570]
add esp, 4
mov edi, dword [0x1031e8b0]
test edi, edi
je 0x100aab34
mov esi, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xa8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100aaae0
test dl, dl
je 0x100aaa8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100aaae0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100aaa70
xor eax, eax
jmp 0x100aaae5
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 0x100aaa1c
push dword [esp + 0x1c]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicBusinessConfigCenter.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.101afab5
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100aaaf1
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
je 0x100aaafe
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x100aaa62
jmp 0x100aab34
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x100aab2e
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 0x100aab26
cmp dword [eax + 4], edi
je 0x100aac15
sub ecx, 0x10
sub edx, 1
jns 0x100aab17
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100aab46
push eax
call dword [0x10311578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
test edi, edi
jne 0x100aadc5
push 0
push 0x58
call fcn.100961d0
mov edi, eax
add esp, 8
test edi, edi
je 0x100aaedd
push 0x58
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x100aaedd
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.100a35d0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100aaee5
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.100a2a90
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 0x100aac68
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 0x100aac6a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100aac27
push eax
call dword [0x10311578]
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100aac39
push ecx
call dword [0x10311578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicBusinessConfigCenter.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.101afab5
mov esp, ebp
pop ebp
ret
xor eax, eax
test eax, eax
jne 0x100aaee5
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], 0x100aa800
lea ecx, [eax + 0xb0]
mov dword [eax + 0xb4], edi
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x100aacad
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 0x100aaccb
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 0x100aad1e
cmp ecx, 0x10000
ja 0x100aad1e
lea eax, [ecx - 1]
test ecx, eax
jne 0x100aad1e
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 0x100aad3b
cmp dword [esp + 0x24], 0
mov dword [edi + 0x24], 0
je 0x100aad39
cmp dword [esp + 0x28], 0
jne 0x100aad39
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.100a2b30
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100aaee5
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 0x100aadc5
mov ecx, 2
call fcn.10095db0
cmp byte [0x10311524], 0
mov esi, eax
je 0x100aad9b
xor ecx, ecx
call fcn.10095db0
mov dword [edi + 0x3c], eax
test eax, eax
je 0x100aaedd
test esi, esi
je 0x100aada9
push esi
call dword [0x10311570]
add esp, 4
mov eax, dword [0x1031e8b0]
mov dword [edi + 0x48], eax
mov dword [0x1031e8b0], edi
test esi, esi
je 0x100aadc5
push esi
call dword [0x10311578]
add esp, 4
mov al, byte [ebx + 9]
test al, al
je 0x100aae48
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x100aae48
mov ecx, dword [eax + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x100aadef
cmp byte [eax + 9], 0
jne 0x100aadf9
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x100aade3
jmp 0x100aae48
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100aae09
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x100aae00
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x100aae20
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x100aae48
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100aae35
cmp dword [ecx + 4], edx
jae 0x100aae35
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x100aae27
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x100aae45
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 0x100aaee9
mov al, byte [ebx + 9]
mov esi, dword [ebx + 4]
test al, al
je 0x100aae87
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x100aae76
mov ecx, ebx
call fcn.100a8990
mov al, byte [ebx + 9]
test al, al
je 0x100aae87
add dword [ebx + 0xc], 0xffffffff
jne 0x100aae87
mov ecx, ebx
call fcn.100a8950
cmp dword [esi + 0x34], 0
jne 0x100aaec1
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.101b04d0
push eax
push dword [esi + 0x2c]
call dword [0x10311598]
add esp, 8
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
test edx, edx
je 0x100aaf12
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
jmp 0x100aaf12
mov dword [esp + 0x10], 7
mov esi, dword [esp + 0x18]
test edi, edi
je 0x100aaefa
mov ecx, dword [edi]
test ecx, ecx
je 0x100aaefa
xor edx, edx
call fcn.100a2db0
push edi
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100aaf24
push eax
call dword [0x10311578]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret