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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x38]
sub eax, 1
mov dword [esp + 0x18], eax
mov dword [ebp + 0x38], eax
mov eax, dword [edx + 0x24]
and eax, 0x80
cmp eax, 1
sbb eax, eax
and eax, 3
add eax, 0x1d
mov byte [esp + 0x2b], al
mov eax, edi
test al, al
je 0x7e1b50
sub esp, 0xc
xor ecx, ecx
mov edx, esi
push 0
mov eax, dword [ebp]
call fcn.0076ea80
movzx ecx, bl
mov dword [esp + 0x2c], ecx
add esp, 0x10
mov edx, dword [esp + 0x14]
or eax, edx
mov dword [esp + 0xc], eax
je 0x7e1af3
push ecx
mov eax, ebp
xor ecx, ecx
push esi
push 3
push 0
call fcn.007e0f30
add esp, 0x10
mov edi, eax
mov eax, dword [ebp]
test byte [eax + 0x21], 0x40
jne 0x7e1b40
mov eax, dword [ebp + 0x2c]
movsx edx, word [esi + 0x2a]
sub esp, 8
xor ebx, ebx
lea ecx, [eax + 1]
lea eax, [eax + edx + 1]
mov edx, 0x4d
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x2c], eax
push 0
push ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
call fcn.00782fd0
add esp, 0x10
cmp word [esi + 0x2a], 0
jle 0x7e1aa3
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xc]
lea esi, [esi]
cmp edi, 0xffffffff
je 0x7e1a67
cmp ebx, 0x1f
jg 0x7e1a94
mov eax, 1
mov ecx, ebx
shl eax, cl
test eax, edi
je 0x7e1a94
mov eax, ebx
test byte [esi + 0x24], 0x20
je 0x7e1a78
mov edx, ebx
mov eax, esi
call fcn.0076e7e0
cwde
sub esp, 8
mov edx, esi
lea eax, [ebp + eax + 1]
push eax
push ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
call fcn.007bfbd0
add esp, 0x10
movsx eax, word [esi + 0x2a]
add ebx, 1
cmp eax, ebx
jg 0x7e1a50
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 8]
sub esp, 8
mov ecx, 0x7e
mov eax, ebp
mov ebx, dword [edi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x1c]
push esi
push 1
push 0
mov edx, dword [esp + 0x34]
call fcn.007e18b0
add esp, 0x20
cmp ebx, dword [edi + 0x6c]
jl 0x7e1ba0
sub esp, 4
mov edx, esi
mov eax, ebp
push 0
push 0
push 0
mov ecx, dword [esp + 0x1c]
call fcn.007da6f0
add esp, 0x10
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x7e1bd3
mov eax, dword [ebp]
test byte [eax + 0x21], 0x40
jne 0x7e1b80
sub esp, 8
mov eax, ebp
mov ecx, 0x7e
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x28]
push dword [esp + 0x1c]
push esi
push 2
push 0
mov edx, dword [esp + 0x34]
call fcn.007e18b0
mov eax, dword [esp + 0x28]
add esp, 0x6c
mov edx, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00782e20
mov edx, esi
mov eax, ebp
call fcn.00792580
or edi, eax
jmp 0x7e1a0c
movzx edx, byte [esp + 0x2b]
sub esp, 4
movsx eax, word [esp + 0x30]
push eax
push dword [esp + 0x28]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
call fcn.00783160
add esp, 0x10
jmp 0x7e19c0
sub esp, 4
xor ecx, ecx
mov edx, esi
mov eax, ebp
push 0
push 0
push dword [esp + 0x18]
call fcn.007e1080
add esp, 0x10
jmp 0x7e1b07
movzx edx, byte [esp + 0x2b]
sub esp, 4
movsx eax, word [esp + 0x30]
push eax
push dword [esp + 0x28]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
call fcn.00783160
add esp, 0x10
mov dword [esp + 0x24], 0xffffffff
jmp 0x7e1ada
sub esp, 4
mov edx, esi
mov eax, ebp
push dword [esp + 0x28]
push 0
push dword [esp + 0x44]
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.007c63f0
pop eax
pop edx
push 0
movzx eax, byte [esp + 0x48]
mov ecx, edi
mov edx, 0x7a
push eax
mov eax, dword [esp + 0x18]
call fcn.00782fd0
add esp, 0x10
cmp byte [ebp + 0x12], 0
je 0x7e1c90
mov eax, dword [esi]
test eax, eax
je 0x7e1c26
mov edx, str.sqlite_stat1
call fcn.0076a0e0
test eax, eax
je 0x7e1c90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, eax
not edx
shr edx, 0x1f
cmp eax, ecx
setne al
and edx, eax
cmp byte [esp + 0x34], 0
je 0x7e1ca2
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x7e1c60
mov ebx, dword [edi + 0x68]
lea ecx, [eax + eax*4]
mov edi, 4
lea ecx, [ebx + ecx*4]
mov word [ecx - 0x12], di
test dl, dl
jne 0x7e1cb1
xor edx, edx
cmp byte [esp + 0x34], 2
sete dl
add edx, edx
test eax, eax
jle 0x7e1afe
mov ecx, dword [esp + 8]
lea eax, [eax + eax*4]
shl eax, 2
add eax, dword [ecx + 0x68]
mov word [eax - 0x12], dx
jmp 0x7e1afe
mov eax, dword [esp + 8]
mov ecx, 0xfffffffa
mov edx, esi
call fcn.00773750
jmp 0x7e1c26
test dl, dl
jne 0x7e1cb1
mov eax, dword [esp + 8]
xor edx, edx
mov eax, dword [eax + 0x6c]
jmp 0x7e1c70
sub esp, 8
mov edx, 0x7a
push 0
push 0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, edi
call fcn.00782fd0
mov eax, dword [edi + 0x6c]
add esp, 0x10
jmp 0x7e1c64