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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
inc ecx
mov dword [esp + 0x4c], ecx
inc ecx
mov dword [esp + 0x14], ecx
inc ecx
mov dword [esp + 0x40], ecx
inc ecx
push ebx
mov dword [esp + 0x2c], ecx
inc ecx
push ebp
push esi
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x40], ecx
inc ecx
mov dword [esp + 0x30], ecx
inc ecx
xor ebx, ebx
cmp ebp, ebx
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x78], ecx
jne 0x100c54d0
call fcn.100a9580
mov ebp, eax
cmp ebp, ebx
mov dword [esi + 8], eax
je 0x100c63ac
push 0x94
call fcn.100a18e0
add esp, 4
cmp edi, ebx
je 0x100c63ac
cmp dword [edi + 0x20], ebx
je 0x100c63ac
mov eax, dword [esp + 0x6c]
mov esi, dword [eax]
mov ecx, 7
mov edi, str.sqlite_
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100c63ac
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov esi, dword [edi + 0x40]
call fcn.1009b4f0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x48], eax
shl eax, 4
mov eax, dword [eax + edx]
push eax
mov eax, dword [edi]
push ebx
push eax
push 0x1c
mov eax, esi
call fcn.100aae00
add esp, 0x10
test eax, eax
jne 0x100c63ac
mov ecx, dword [edi]
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x48]
push ecx
push ebx
push edx
push eax
mov eax, esi
call fcn.100a3bd0
mov eax, dword [esi + 0x48]
add esp, 0x10
mov dword [esp + 0x1c], eax
inc eax
mov dword [esi + 0x48], eax
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov ecx, dword [edi]
mov dword [esp + 0x40], ecx
jg 0x100c5579
mov edi, ebp
call fcn.100a1800
test eax, eax
je 0x100c5579
mov esi, 1
jmp 0x100c55a2
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x5e
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
cmp ecx, ebx
mov edi, dword [ebp]
mov eax, esi
je 0x100c55fd
cmp byte [edi + 0x38], bl
jne 0x100c55fd
cmp esi, ebx
jge 0x100c55bb
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.100a1ac0
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
mov dword [esi + 0x10], ebx
jne 0x100c55e1
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x100c5608
call fcn.10093c30
mov edx, dword [ebp]
mov ebx, eax
mov eax, ecx
call fcn.1009e2c0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x100c5608
mov ecx, dword [esp + 0x40]
xor eax, eax
call fcn.100a1ac0
mov eax, dword [esp + 0x6c]
mov edi, dword [eax + 8]
cmp edi, ebx
mov dword [esp + 0x30], edi
je 0x100c6189
jmp 0x100c5620
cmp dword [eax + 8], ebx
jne 0x100c620f
mov edx, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push 0x27
mov eax, ebp
call fcn.100a1880
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
add esp, 0x10
cmp eax, esi
jg 0x100c61c1
mov edi, ebp
call fcn.100a1800
test eax, eax
jne 0x100c61ee
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x20
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
push eax
push 0x2d
mov eax, ebp
call fcn.100a1930
mov ecx, dword [esp + 0x2c]
push ecx
push 0x1c
mov eax, ebp
call fcn.100a1930
add esp, 0x10
jmp 0x100c6234
mov eax, dword [esp + 0x20]
cmp eax, ebx
jl 0x100c6228
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100c6228
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
push 1
mov eax, ebp
call fcn.100a18e0
add esp, 4
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x20], esi
jg 0x100c624b
mov edi, ebp
call fcn.100a1800
test eax, eax
jne 0x100c6274
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 4]
inc eax
mov dword [ebp + 0x1c], eax
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0xa
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100c628e
mov edi, ebp
call fcn.100a1800
test eax, eax
je 0x100c628e
mov eax, 1
jmp 0x100c62c1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x1f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov ecx, dword [ebp + 4]
cmp ecx, ebx
mov edi, dword [ebp]
je 0x100c630e
cmp byte [edi + 0x38], bl
jne 0x100c630e
cmp eax, ebx
jge 0x100c62d8
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.100a1ac0
mov ecx, 0x10188c44
mov dword [esi + 0x10], ebx
pop esi
adc al, ch
cmp ecx, ebx
cld
dec dword [ebx - 0x2774ffab]
mov ecx, 0x10188c44
xor eax, eax
call fcn.100a1ac0