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

Disassembly:
push ecx
mov al, byte [edx]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, ecx
mov esi, 8
cmp al, 0x30
jl 0x100fb9d3
cmp al, 0x39
ja 0x100fb9d3
cmp edi, 0xccccccb
jge 0x100fb9d3
movzx eax, al
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [eax + edi*2]
mov al, byte [edx]
cmp al, 0x30
jge 0x100fb9b4
mov al, byte [edx]
cmp al, 0x2c
jne 0x100fba11
mov al, byte [edx + 1]
inc edx
test al, al
je 0x100fbac8
xor esi, esi
cmp al, 0x30
jl 0x100fba0f
nop dword [eax + eax]
cmp al, 0x39
ja 0x100fba0f
cmp esi, 0xccccccb
jge 0x100fba0f
movzx eax, al
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [eax + esi*2]
mov al, byte [edx]
cmp al, 0x30
jge 0x100fb9f0
mov al, byte [edx]
test al, al
jne 0x100fbac8
cmp esi, 2
jl 0x100fbac8
mov dword [esp + 0x10], 0
cmp byte [ebx + 0xed], al
jne 0x100fba5c
push dword [ebx + 0x14]
lea eax, [esp + 0x14]
push dword [ebx + 0x10]
push str.CREATE_TABLE_IF_NOT_EXISTS__Q._q_stat_id_INTEGER_PRIMARY_KEY__value_BLOB__
push dword [ebx + 0xc]
push eax
call fcn.100deb40
mov ebp, dword [esp + 0x24]
add esp, 0x14
test ebp, ebp
jne 0x100fba6b
mov byte [ebx + 0xed], 1
push esi
mov edx, edi
mov ecx, ebx
call fcn.100facf0
add esp, 4
mov ebp, eax
mov esi, dword [ebx + 0xfc]
test esi, esi
je 0x100fbab6
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100fba90
push eax
call dword [0x10178a88]
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.10027de0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100fbaaa
push eax
call dword [0x10178a90]
add esp, 4
push dword [esp + 0x10]
call fcn.10054ee0
add esp, 4
mov dword [ebx + 0xfc], 0
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x100fcb55
xor esi, esi
jmp 0x100fcb88
movzx ecx, word [edi + 0x10]
mov eax, ecx
and eax, 0x202
cmp eax, 0x202
jne 0x100fcb72
cmp byte [edi + 0x12], 1
jne 0x100fcb72
mov esi, dword [edi + 8]
jmp 0x100fcb88
test cl, 1
je 0x100fcb7d
xor esi, esi
mov eax, edx
jmp 0x100fcb8a
mov dl, 1
mov ecx, edi
call fcn.1004f390
mov esi, eax
mov eax, edi
mov ecx, 0x10
movzx eax, word [eax + ecx]
test al, 2
je 0x100fcba2
cmp byte [edi + 0x12], 1
jne 0x100fcba2
mov ebp, dword [edi + 0xc]
jmp 0x100fcbcd
test al, 0x10
je 0x100fcbba
mov ecx, dword [edi + 0xc]
test eax, 0x400
je 0x100fcbb6
mov ebp, dword [edi]
add ebp, ecx
jmp 0x100fcbcd
mov ebp, ecx
jmp 0x100fcbcd
test al, 1
je 0x100fcbc2
xor ebp, ebp
jmp 0x100fcbcd
mov dl, 1
mov ecx, edi
call fcn.1004fae0
mov ebp, eax
test esi, esi
jne 0x100fcbdc
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ebp, 8
jne 0x100fcc44
mov edx, ebp
mov edi, esi
mov ebx, str.optimize
nop word [eax + eax]
mov al, byte [edi]
dec edx
test al, al
je 0x100fcc12
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fcc12
inc edi
inc ebx
test edx, edx
jg 0x100fcbf0
dec edx
test edx, edx
js 0x100fcc32
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fcd26
mov ecx, dword [esp + 0x14]
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp fcn.100f4aa0
cmp ebp, 7
jne 0x100fcca4
mov edx, ebp
mov edi, esi
mov ebx, str.rebuild
mov al, byte [edi]
dec edx
test al, al
je 0x100fcc74
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fcc74
inc edi
inc ebx
test edx, edx
jg 0x100fcc52
dec edx
test edx, edx
js 0x100fcc94
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fcd26
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp fcn.100f4ed0
cmp ebp, 0xf
jne 0x100fcd21
mov edx, ebp
mov edi, esi
mov ebx, str.integrity_check
mov al, byte [edi]
dec edx
test al, al
je 0x100fccd4
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fccd4
inc edi
inc ebx
test edx, edx
jg 0x100fccb2
dec edx
test edx, edx
js 0x100fccf0
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fcd26
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.100fc110
test eax, eax
jne 0x100fce44
cmp dword [esp + 0x18], eax
mov ecx, 0x10b
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ebp, 6
jle 0x100fcd83
mov edx, 6
mov edi, esi
mov ebx, 0x10170464
mov al, byte [edi]
dec edx
test al, al
je 0x100fcd54
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fcd54
inc edi
inc ebx
test edx, edx
jg 0x100fcd32
dec edx
test edx, edx
js 0x100fcd70
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fcd83
mov ecx, dword [esp + 0x14]
lea edx, [esi + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp 0x100fb9a0
cmp ebp, 0xa
jle 0x100fcde5
mov edx, 0xa
mov edi, esi
mov ebx, 0x1017046c
mov al, byte [edi]
dec edx
test al, al
je 0x100fcdb6
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fcdb6
inc edi
inc ebx
test edx, edx
jg 0x100fcd94
dec edx
test edx, edx
js 0x100fcdd2
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fce3f
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xa]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp fcn.100fbae0
cmp ebp, 5
jne 0x100fce3f
mov edx, ebp
mov edi, str.flush
mov al, byte [esi]
dec edx
test al, al
je 0x100fce13
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
jne 0x100fce13
inc esi
inc edi
test edx, edx
jg 0x100fcdf1
dec edx
test edx, edx
js 0x100fce2f
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
jne 0x100fce3f
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp fcn.100f3f10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret