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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x14], edi
cmp byte [edi], 0
jne 0x5c03f04
mov bl, byte [edi + 1]
test bl, 2
je 0x5c03f04
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x24]
cmp ecx, edx
jne 0x5c03ea9
cmp eax, dword [ebp + 0xc]
jne 0x5c03eac
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [ebp + 0xc]
jg 0x5c03f04
jl 0x5c03eb4
cmp ecx, edx
jae 0x5c03f04
test bl, 8
jne 0x5c03f18
add ecx, 1
adc eax, 0
cmp ecx, edx
jne 0x5c03f04
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
jne 0x5c03f04
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [eax], 0
call fcn.05c037d0
test eax, eax
jne 0x5c03efb
mov ecx, edi
call fcn.05c04c50
mov eax, dword [ebp + 8]
cmp dword [edi + 0x20], eax
jne 0x5c03f04
cmp dword [edi + 0x24], ebx
jne 0x5c03f04
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x5c0411f
mov ecx, edi
call fcn.05c04320
test eax, eax
je 0x5c03f2a
cmp eax, 0x10
jne 0x5c0411f
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
sub eax, esi
lea esi, [edi + 0x74]
mov dword [esp + 0x1c], eax
mov edx, dword [esi]
mov ecx, eax
xor edi, edi
mov dword [esp + 0x10], edx
movzx ebx, word [edx + 0x18]
mov eax, dword [edx + 0x40]
dec ebx
mov esi, ebx
mov dword [esp + 0x18], eax
sar esi, cl
mov cl, byte [edx + 2]
mov byte [esp + 0xf], cl
nop dword [eax]
mov ax, word [eax + esi*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x44]
cmp byte [esp + 0xf], 0
je 0x5c03f92
cmp byte [ecx], 0x80
jb 0x5c03f91
mov eax, dword [edx + 0x3c]
inc ecx
cmp ecx, eax
jae 0x5c040aa
cmp byte [ecx], 0x80
jae 0x5c03f83
inc ecx
lea edx, [esp + 0x20]
call fcn.05c1b510
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp ecx, dword [ebp + 0xc]
jg 0x5c03fbd
jl 0x5c03fb1
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x5c03fc0
lea edi, [esi + 1]
cmp edi, ebx
jle 0x5c03fd2
or eax, 0xffffffff
jmp 0x5c03fe9
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x5c0400f
jg 0x5c03fcb
cmp eax, edx
jbe 0x5c0400f
lea ebx, [esi - 1]
cmp edi, ebx
jg 0x5c03fe4
mov edx, dword [esp + 0x10]
lea esi, [ebx + edi]
mov eax, dword [esp + 0x18]
sar esi, 1
jmp 0x5c03f60
mov eax, 1
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp byte [edx + 8], 0
je 0x5c04027
mov ecx, dword [ebp + 0x10]
mov word [ebx + 0x46], si
mov dword [ecx], eax
xor eax, eax
xor ecx, ecx
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov word [ebx + 0x46], si
cmp byte [edx + 8], 0
jne 0x5c04104
mov edi, esi
movzx eax, word [edx + 0x18]
cmp edi, eax
jl 0x5c0403c
movzx ecx, byte [edx + 9]
mov eax, dword [edx + 0x38]
mov edx, dword [ecx + eax + 8]
jmp 0x5c04056
mov eax, dword [edx + 0x40]
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edx + 0x38]
mov edx, dword [ecx + eax]
mov al, byte [ebx + 0x44]
mov word [ebx + 0x46], di
bswap edx
cmp al, 0x13
jge 0x5c040d4
and byte [ebx + 1], 0xf9
lea esi, [ebx + 0x74]
movsx eax, al
xor ecx, ecx
mov word [ebx + 0x32], cx
mov word [ebx + eax*2 + 0x48], di
movsx ecx, byte [ebx + 0x44]
mov eax, dword [esi]
mov dword [ebx + ecx*4 + 0x78], eax
xor eax, eax
mov ecx, dword [ebx + 0x14]
inc byte [ebx + 0x44]
mov word [ebx + 0x46], ax
movzx eax, byte [ebx + 2]
push eax
push ebx
push esi
call fcn.05c07590
add esp, 0xc
test eax, eax
jne 0x5c040f7
mov eax, dword [esp + 0x1c]
jmp 0x5c03f38
push 0x5c40e4c
push 0x123bf
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5c40e4c
push 0x12236
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0x14
mov eax, 0xb
xor ecx, ecx
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or byte [ebx + 1], 2
mov dword [ebx + 0x20], eax
xor eax, eax
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x24], ecx
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret