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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x101d2014]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x44], 0
jns 0x100429b9
mov edx, dword [esi + 0x40]
test edx, edx
je 0x100429f8
mov al, byte [esi]
cmp al, 3
jae 0x10042a77
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 0x30], edx
jb 0x10042a87
mov edi, dword [eax]
movzx ebx, byte [esi + 2]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edi + 0xcc]
cmp ecx, fcn.10023550
jne 0x10042aaf
lea eax, [ebp - 0x14]
push ebx
push eax
mov ebx, edx
push edx
push edi
call fcn.10023550
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x100429fd
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
mov dword [esi + 0x74], ecx
cmp byte [ecx], 0
je 0x10042a02
mov byte [esi + 0x44], 0
mov al, byte [ecx + 2]
mov byte [esi + 0x45], al
cmp byte [ecx], 0
je 0x10042a4f
cmp dword [esi + 0x70], 0
sete al
cmp byte [ecx + 2], al
jne 0x10042a4f
xor edi, edi
mov word [esi + 0x46], di
mov word [esi + 0x32], di
and byte [esi + 1], 0xf1
cmp word [ecx + 0x18], di
je 0x100429ee
mov byte [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x74]
je 0x10042975
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x10042acb
call fcn.10025e90
mov al, byte [esi + 0x44]
dec al
mov byte [esi + 0x44], al
je 0x100429e6
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
jmp 0x100429c1
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x74], ecx
jmp 0x1004298e
cmp byte [ecx + 8], 0
je 0x10042b3e
mov edi, 0x10
mov byte [esi], 1
jmp 0x100429a5
mov eax, dword [edx + 8]
cmp dword [eax + 4], ebx
je 0x10042a2f
mov ecx, dword [edx + 4]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x48], edx
mov edx, 0x64
mov dword [eax + 0x34], ecx
xor ecx, ecx
cmp ebx, 1
mov dword [eax + 4], ebx
cmovne edx, ecx
mov byte [eax + 9], dl
mov ecx, dword [esi + 0x74]
call fcn.10026390
mov ecx, dword [esi + 0x74]
test eax, eax
je 0x1004296b
mov edi, eax
test ecx, ecx
je 0x100429fd
mov ecx, dword [ecx + 0x48]
call fcn.10025e10
jmp 0x100429fd
push 0x101b128f
push 0x11152
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 0x100429a5
cmp al, 4
jne 0x10042b21
mov edi, dword [esi + 4]
jmp 0x100429a5
push 0x101b128f
push 0x1055b
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 0x100429fd
mov dword [ebp - 0x18], edx
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push ebx
push eax
mov eax, dword [ebp - 0x18]
mov ebx, eax
push eax
push edi
call ecx
jmp 0x1004294c
mov edi, dword [ecx + 0x14]
dec dword [edi + 0x78]
mov eax, dword [edi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [edi + 0x88], ecx
mov edx, dword [edi + 0x98]
mov eax, dword [ecx + 0x18]
mov ebx, edx
dec eax
sar ebx, 0x1f
imul ebx, eax
mul edx
mov dword [ebp - 0x1c], eax
add edx, ebx
mov eax, dword [ecx + 4]
mov ebx, edx
mov dword [ebp - 0x18], eax
mov edi, dword [edi + 0x3c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x48]
call dword [section..00cfg]
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x1c]
push edi
call ecx
add esp, 0x10
jmp 0x100429d0
push dword [esi + 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov dword [esi + 0x10], 0
mov byte [esi], 1
mov edx, dword [esi + 0x40]
jmp 0x10042914
cmp dword [ecx + 4], 1
jne 0x10042b6a
mov eax, dword [ecx + 0x38]
movzx ecx, byte [ecx + 9]
push dword [ecx + eax + 8]
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov ecx, esi
mov edx, eax
mov byte [esi], 0
call fcn.10042b80
mov edi, eax
jmp 0x100429a5
push 0x101b128f
push 0x1115f
jmp 0x10042a59