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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x84]
test eax, eax
push ebp
mov ebp, dword [esp + 0x80]
push edi
mov edi, dword [ebp]
mov dword [esp + 8], edi
jne 0x42715d
mov eax, dword [esp + 0x90]
test eax, eax
je 0x427515
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x427515
mov al, byte [edi + 0x1e]
test al, al
jne 0x427515
push ebx
mov ebx, dword [ebp + 0xd4]
test ebx, ebx
je 0x427514
mov eax, dword [ebx + 0x4c]
push esi
push eax
push edi
call fcn.004141a0
mov edx, dword [ebx + 0x2c]
add esp, 8
test edx, edx
mov esi, eax
je 0x427210
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
xor eax, eax
push edx
mov ecx, 0xe
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x54]
push edx
mov word [esp + 0x58], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov byte [esp + 0x4a], 1
call fcn.0043bc70
add esp, 8
test eax, eax
jne 0x427513
mov edi, dword [esp + 0x10]
mov al, byte [edi + 0x50]
test al, al
je 0x427228
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x14], eax
mov al, byte [edi + 0x50]
test al, al
jne 0x427423
push ebp
call fcn.00437320
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
je 0x427513
push 0
push 0x1f
push edi
call fcn.00414d30
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
jne 0x427262
mov dword [esp + 0x18], str.table
mov edx, str.TABLE
jmp 0x42726f
mov dword [esp + 0x18], str.view
mov edx, str.VIEW
mov eax, dword [esp + 0x98]
test eax, eax
je 0x427335
mov ecx, dword [ebp + 0x9c]
push esi
push ecx
push 1
push 8
push edi
call fcn.00414ca0
push 1
push edi
call fcn.00415080
push 1
lea edx, [esp + 0x40]
push 8
push edx
mov dword [ebp + 0x44], 2
call fcn.00434f10
mov ecx, dword [esp + 0xc0]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
push ecx
push ebp
call fcn.00438a80
add esp, 0x44
push 1
push 0x1f
push edi
call fcn.00414d30
mov eax, dword [ebp + 0x40]
xor edi, edi
add esp, 0xc
cmp eax, edi
jne 0x427316
mov edx, dword [esp + 0x98]
push edx
push edi
push ebp
call fcn.00436520
add esp, 0xc
cmp eax, edi
je 0x427513
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
push eax
mov dword [eax + 4], edi
mov dword [eax + 8], edi
call fcn.00426660
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 0x4c]
sub edx, dword [ecx + 0x2c]
neg edx
sbb edx, edx
inc edx
push edx
push ebx
push eax
call fcn.00426f10
add esp, 0xc
jmp 0x42735c
mov ecx, dword [ebp + 0xbc]
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
push ecx
sub eax, ecx
mov ecx, dword [esp + 0x14]
inc eax
push eax
push edx
push str.CREATE__s__.s
push ecx
call fcn.00410a90
add esp, 0x14
cmp esi, 1
mov dword [esp + 0x14], eax
mov ecx, str.sqlite_temp_master
je 0x42736f
mov ecx, str.sqlite_master
mov edx, dword [ebp + 0x98]
mov eax, dword [ebx]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [ebp + 0x9c]
push edx
push eax
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
lea edi, [esi + esi*2]
shl edi, 3
mov eax, dword [edi + edx]
push eax
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ebp
call fcn.00426160
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00410e30
push esi
push ebp
call fcn.00426e00
mov al, byte [ebx + 0x38]
add esp, 0x34
test al, al
je 0x4273e8
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [eax + edi + 0x14]
mov edx, dword [ecx + 0x54]
add eax, edi
test edx, edx
jne 0x4273e8
mov edx, dword [eax]
push edx
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebp
call fcn.00426160
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
push str.tbl_name_q
push ecx
call fcn.00410a90
mov edx, dword [esp + 0x2c]
add esp, 0xc
push eax
push 0
push 0
push esi
push 0x1d
push edx
call fcn.00416ee0
mov edi, dword [esp + 0x2c]
mov al, byte [edi + 0x50]
add esp, 0x1c
test al, al
je 0x427513
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x427513
mov esi, dword [ebx]
mov edi, dword [ebx + 0x4c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427438
sub eax, edx
push ebx
inc eax
push eax
lea eax, [edi + 4]
push esi
push eax
call fcn.0041d6d0
add esp, 0x10
test eax, eax
je 0x427465
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
pop edi
mov byte [ecx + 0x1e], 1
pop ebp
add esp, 0x78
ret
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x4274c1
add edi, 0x40
mov dword [esp + 0x18], edi
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
jmp 0x427480
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427480
sub eax, edi
lea edi, [eax + 1]
push edi
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.0041d680
mov ecx, dword [esp + 0x24]
push esi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push edi
push eax
push ecx
call fcn.0041d6d0
add esp, 0x1c
cmp eax, esi
jne 0x4274ba
mov edx, dword [esp + 0x10]
mov byte [edx + 0x1e], 1
mov esi, dword [esi + 4]
test esi, esi
jne 0x427473
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xd4], 0
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0xc]
inc edx
or ecx, 0x10
mov dword [eax + 0x20], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x427513
mov eax, dword [esp + 0x90]
cmp dword [eax], 0
mov ebp, dword [ebp + 0xbc]
jne 0x4274ff
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
sub eax, ebp
push eax
push ebp
call fcn.0042ad30
add esp, 8
add eax, 0xd
mov dword [ebx + 0x30], eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x78
ret