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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x44], edx
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 9], 0
mov dword [ebp - 0x3c], ecx
jne 0x10014eb6
mov ebx, dword [ecx + 4]
cmp byte [ebx + 0x11], 0
jne 0x10014d80
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov ecx, ebx
push 0
push 1
push eax
call fcn.100165a0
add esp, 0xc
test eax, eax
jne 0x10014f79
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
and eax, 1
lea edx, [eax + eax*2]
add edx, 0xa
mov ecx, esi
call fcn.10015170
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10014d55
test byte [ecx + 0x1c], 0x20
jne 0x10014f23
call fcn.1001c870
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
xor edi, edi
mov ecx, dword [ebp - 0x3c]
cmp byte [ecx + 9], 0
jne 0x10014f10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebx + 8]
mov esi, ebx
test eax, eax
jne 0x10014f80
cmp byte [ecx + 9], 0
jne 0x10014ed0
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
push dword [eax + 0x34]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov esi, eax
cmp byte [ebp - 0x34], 0
jne 0x10014ef7
cmp esi, dword [ebx + 0x30]
ja 0x10014f96
mov eax, dword [0x101db688]
mov dword [ebp - 0x34], eax
mov ecx, esi
lea edx, [esi + 1]
mov eax, 0
mov dword [ebp - 0x38], edx
cmp edx, 2
jb 0x10014e11
mov eax, 0xcccccccd
mul dword [ebx + 0x28]
mov edi, edx
shr edi, 2
inc edi
mov esi, ecx
dec ecx
mov eax, ecx
xor edx, edx
div edi
sub ecx, edx
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebx + 0x24]
lea edi, [ecx + 1]
xor edx, edx
cmp edi, eax
sete dl
lea eax, [edx + ecx]
add eax, 2
mov ecx, esi
mov esi, dword [ebp - 0x38]
cmp esi, eax
je 0x10014dcc
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebx + 0x24]
cmp ecx, eax
je 0x10014dcc
lea esi, [ecx + 1]
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov ecx, ebx
push 1
mov dword [ebp - 0x34], esi
push esi
push eax
call fcn.100165a0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10014f79
mov esi, dword [ebp - 0x24]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jne 0x10014fbe
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x20]
mov ecx, ebx
mov ebx, dword [ebp - 0x34]
mov edx, ebx
push edi
push 0
push 1
call fcn.10027d30
add esp, 0xc
mov edi, dword [edi]
test edi, edi
jne 0x10014ea1
mov ecx, dword [ebp - 0x3c]
mov edx, 4
push ebx
call fcn.10012f10
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10014d2c
mov edi, eax
test esi, esi
je 0x10014d5f
mov ecx, dword [esi + 0x48]
call fcn.1014e440
jmp 0x10014d5f
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x10014d03
call fcn.1000a330
mov ecx, dword [ebp - 0x3c]
jmp 0x10014d03
inc dword [ecx + 0xc]
mov al, 1
mov dword [ebp - 0x34], eax
cmp byte [ecx + 0xa], 0
jne 0x10014d9e
mov edi, dword [ebp - 0x3c]
mov ecx, edi
call fcn.1000a330
mov al, byte [edi + 9]
mov dword [ebp - 0x34], eax
jmp 0x10014d9e
mov eax, dword [ebp - 0x3c]
dec dword [eax + 0xc]
jne 0x10014dbb
mov ecx, dword [ebp - 0x3c]
call fcn.1000a430
jmp 0x10014dbb
dec dword [ecx + 0xc]
jne 0x10014d6c
call fcn.1000a430
jmp 0x10014d6c
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov eax, dword [ecx + 0x18]
dec eax
mov edx, dword [ebx + 0x98]
mov esi, edx
sar esi, 0x1f
imul esi, eax
mul edx
mov dword [ebp - 0x34], eax
mov edi, edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebx + 0x3c]
add edi, esi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push dword [ebp - 0x38]
push edi
push dword [ebp - 0x34]
push ebx
call ecx
add esp, 0x10
jmp 0x10014d55
mov edi, eax
jmp 0x10014d5f
and byte [eax + 1], 0xfb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10014f80
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ecx + 4]
jmp 0x10014d8d
push 0x101c47ed
push 0x12425
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov edi, 0xb
jmp 0x10014d5f
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10015020
xor edx, edx
push 0
call fcn.10010c40
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10014fed
mov ecx, dword [eax + 0x48]
call fcn.1014e440
test edi, edi
jne 0x10014d5f
mov edi, dword [ebx]
mov ecx, dword [edi + 0xcc]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp - 0x34]
push edi
call ecx
add esp, 0x10
test eax, eax
je 0x10015024
mov edi, eax
mov dword [ebp - 0x20], eax
jmp 0x10014d5f
xor edi, edi
jmp 0x10014fde
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ecx + 4]
dec ecx
cmp ecx, dword [ebp - 0x38]
je 0x1001505c
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x40]
mov dword [edi + 0x38], ecx
xor ecx, ecx
cmp dword [ebp - 0x38], 0
mov edx, 0x64
cmovne edx, ecx
mov dword [edi + 0x48], eax
mov dword [edi + 0x34], ebx
mov eax, dword [ebp - 0x34]
mov dword [edi + 4], eax
mov byte [edi + 9], dl
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x29]
mov ecx, ebx
mov edx, dword [ebp - 0x34]
push eax
push edi
call fcn.1015b520
add esp, 8
mov edi, eax
lea eax, [ebp - 0x29]
mov al, byte [eax]
mov ecx, eax
dec cl
cmp cl, 1
ja 0x100150b1
mov edi, 0xb
push 0x101c47ed
push 0x12455
push str.database_corruption
push str._s_at_line__d_of___.10s_
push edi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x48]
jmp 0x10014eac
test edi, edi
jne 0x100150a6
movzx eax, al
mov ecx, ebx
mov edx, dword [ebp - 0x40]
push 0
push esi
push dword [ebp - 0x30]
push eax
call fcn.1015b620
add esp, 0x10
mov edi, eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x48]
call fcn.1014e440
test edi, edi
jne 0x10014d5f
mov esi, dword [ebx]
mov ecx, dword [esi + 0xcc]
call dword [section..00cfg]
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x34]
push esi
call ecx
add esp, 0x10
test eax, eax
jne 0x10015016
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 8]
mov eax, dword [esi + 4]
dec eax
cmp eax, dword [ebp - 0x38]
jne 0x10015120
lea eax, [esi + 0x48]
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x48]
jmp 0x10015149
mov eax, dword [ecx + 4]
mov dword [esi + 0x38], eax
xor eax, eax
cmp dword [ebp - 0x38], 0
mov edx, 0x64
cmovne edx, eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x34], ebx
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov byte [esi + 9], dl
lea eax, [esi + 0x48]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], esi
call fcn.1014e2b0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10014e66
mov edi, eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
jmp 0x10014eac