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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movsx eax, byte [ecx + 0x44]
cmp eax, 0x13
jge 0x1000f0d9
mov esi, ecx
xor ecx, ecx
mov word [esi + 0x32], cx
and byte [esi + 1], 0xf9
movzx edi, word [esi + 0x46]
mov word [esi + eax*2 + 0x48], di
mov eax, dword [esi + 0x74]
movsx edi, byte [esi + 0x44]
mov dword [esi + edi*4 + 0x78], eax
mov word [esi + 0x46], cx
inc byte [esi + 0x44]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edx
cmp dword [eax + 0x30], edx
jb 0x1000f101
movzx ecx, byte [esi + 2]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx + 0xdc]
cmp ecx, fcn.10143780
mov dword [ebp - 0x2c], eax
jne 0x1000f10d
cmp dword [ebp - 0x18], 0
je 0x1000f135
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xe4]
movzx ebx, byte [eax + 0x29]
mov dword [ebp - 0x28], ebx
and ebx, 3
mov ecx, dword [0x101ef0a0]
mov dword [ebp - 0x20], eax
mov edi, dword [eax + 0x34]
cmp ecx, 0x1000f4b0
jne 0x1000f16f
mov ecx, dword [edi + 0x38]
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [edi + 0x34]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1000ede1
mov ecx, dword [ebp - 0x18]
cmp dword [eax + 8], ecx
je 0x1000eea6
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1000edd1
test bl, bl
je 0x1000ee0d
mov ecx, edi
mov edx, dword [ebp - 0x18]
push ebx
call fcn.1000a100
add esp, 4
test eax, eax
jne 0x1000eead
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xe4]
mov dword [ebp - 0x20], eax
mov al, byte [eax + 0x29]
mov dword [ebp - 0x28], eax
mov edi, 7
cmp byte [ebp - 0x28], 2
mov ebx, dword [ebp - 0x20]
je 0x1000f1b0
mov ecx, dword [0x101ef09c]
mov edi, dword [ebx + 0x34]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp eax, dword [ebx + 0x1c]
jle 0x1000ee7e
mov edi, dword [ebx + 8]
test edi, edi
je 0x1000f1d2
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x1000f099
test byte [edi + 0x1c], 8
jne 0x1000f099
mov dword [ebx + 8], edi
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x30]
call dword [section..00cfg]
push edi
push ebx
mov ebx, dword [ebp - 0x20]
call ecx
add esp, 8
test eax, eax
jne 0x1000f1fb
mov ecx, dword [0x101ef0a0]
mov edi, dword [ebx + 0x34]
call dword [section..00cfg]
push 2
push dword [ebp - 0x18]
push edi
call ecx
add esp, 0xc
mov edi, 7
test eax, eax
jne 0x1000eead
jmp 0x1000f1b0
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1000ef26
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0xe4]
mov edi, dword [eax + 4]
cmp dword [edi], 0
je 0x1000ef9c
add dword [ecx + 0x10], 1
adc dword [ecx + 0x14], 0
add dword [edi + 0x20], 1
adc dword [edi + 0x24], 0
mov dword [ebp - 0x14], edi
test byte [ebp - 0x24], 1
jne 0x1000ef47
cmp dword [edi + 0x14], 0
je 0x1000ef47
mov eax, dword [ebp - 0x1c]
inc dword [eax + 0xc8]
mov ecx, dword [edi + 8]
mov dword [esi + 0x74], ecx
cmp byte [ecx], 0
je 0x1000efaf
cmp word [ecx + 0x18], 0
je 0x1000f0a1
mov al, byte [ecx + 1]
xor edi, edi
cmp al, byte [esi + 0x45]
jne 0x1000f0a1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [eax + 0x1c]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x18], 0
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x2c]
jmp 0x1000eead
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xa4], eax
je 0x1000f184
mov dword [edi + 0x14], ecx
mov eax, dword [ecx + 0x40]
cmp dword [eax], 0
je 0x1000eff4
test byte [ebp - 0x24], 1
jne 0x1000eff4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x1c], eax
jb 0x1000eff4
mov eax, dword [ebp - 0x1c]
inc dword [eax + 0xcc]
mov ecx, edi
call fcn.10009af0
test eax, eax
je 0x1000eeea
mov ebx, eax
jmp 0x1000f1a7
mov edx, dword [ebp - 0x18]
push eax
call fcn.10009a90
add esp, 4
mov edi, eax
jmp 0x1000eed2
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x18]
cmp dword [eax + 4], edx
je 0x1000efdf
mov ecx, dword [edi + 4]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x48], edi
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x34], ecx
mov dword [eax + 4], edx
xor ecx, ecx
cmp edx, 1
mov edx, 0x64
cmovne edx, ecx
mov byte [eax + 9], dl
mov ecx, dword [esi + 0x74]
call fcn.10009e00
test eax, eax
jne 0x1000f208
mov ecx, dword [esi + 0x74]
jmp 0x1000eef9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xa0], eax
jb 0x1000f20f
test byte [ebp - 0x24], 1
je 0x1000f05d
mov ecx, dword [0x101f228c]
test ecx, ecx
jne 0x1000f216
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx + 0x20], eax
jae 0x1000f08c
mov eax, dword [ebx + 0x68]
test eax, eax
jle 0x1000f04f
xor ecx, ecx
mov ebx, 0x14
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x64]
mov edx, dword [ebp - 0x18]
cmp dword [ecx + ebx], edx
jae 0x1000f078
mov ecx, dword [ebp - 0x24]
inc ecx
add ebx, 0x30
cmp ecx, eax
jl 0x1000f033
mov ecx, dword [0x101f2290]
test ecx, ecx
jne 0x1000f223
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xa8]
push 0
push dword [edi + 4]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1000eeea
mov ecx, dword [ecx + ebx - 4]
mov edx, dword [ebp - 0x18]
call fcn.1013b540
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x68]
jmp 0x1000f044
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebp - 0x18]
call fcn.1013b540
jmp 0x1000f025
mov edi, dword [edi + 0x2c]
jmp 0x1000ee3c
push 0x101cff9b
push 0x11445
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
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1000f158
mov ecx, dword [eax + 0x48]
call fcn.10157430
jmp 0x1000f158
push 0x101cff9b
push 0x11fd8
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 0x1000ef12
push 0x101cff9b
push 0x11430
jmp 0x1000f13f
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call ecx
add esp, 0x10
test eax, eax
jne 0x1000f238
mov edi, dword [ebp - 0x14]
jmp 0x1000eeea
push 0x101cff9b
push 0xee2b
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
mov al, byte [esi + 0x44]
dec al
mov byte [esi + 0x44], al
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov dword [esi + 0x74], eax
jmp 0x1000ef12
call dword [section..00cfg]
push ebx
push dword [ebp - 0x18]
push edi
call ecx
add esp, 0xc
jmp 0x1000edf3
push 0x101cff9b
push 0xee4b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov ebx, 0xb
mov ecx, edi
call fcn.10158b30
mov edi, ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xe4]
mov ecx, dword [eax + 0x10]
or ecx, dword [eax + 0x14]
jne 0x1000f1c9
mov ecx, dword [ebp - 0x1c]
call fcn.101644a0
test esi, esi
jne 0x1000f158
jmp 0x1000ef12
mov dword [ebx + 8], 0
mov edi, dword [ebx + 4]
test edi, edi
je 0x1000ee7e
mov ebx, dword [ebp - 0x20]
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
je 0x1000f230
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x1000f1e7
jmp 0x1000ee7e
mov edi, eax
cmp eax, 5
je 0x1000ee7e
jmp 0x1000f1b0
mov edi, eax
jmp 0x1000f0c4
mov ebx, 0xd
jmp 0x1000f1a7
call dword [section..00cfg]
call ecx
jmp 0x1000f01a
call dword [section..00cfg]
call ecx
jmp 0x1000f05d
mov ebx, dword [ebp - 0x20]
jmp 0x1000ee5d
mov edi, eax
jmp 0x1000f158