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

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x1c], esi
call fcn.0042eca0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x430968
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4305ea
cmp ebx, 1
jle 0x4305e5
push str.temporary_table_name_must_be_unqualified
push ebp
call fcn.0041be00
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ebx, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ebp + 0x168], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x16c], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push edi
shr ecx, 1
push ecx
push edx
push esi
call fcn.004206e0
mov edi, eax
push edi
mov dword [esp + 0x34], edi
call fcn.0041be60
add esp, 0x10
test edi, edi
je 0x430967
push edi
push ebp
call fcn.0042ed00
add esp, 8
test eax, eax
jne 0x4307a1
mov ecx, dword [esi + 0x78]
mov eax, 1
cmp ecx, eax
jne 0x430648
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
lea edi, [ebx + ebx*2]
shl edi, 3
mov ecx, dword [edi + eax]
cmp dword [esp + 0x30], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov eax, str.sqlite_temp_master
je 0x43066d
mov eax, str.sqlite_master
push ecx
push 0
push eax
push 0x12
push ebp
call fcn.0043d690
add esp, 0x14
test eax, eax
jne 0x4307a1
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, dword [esp + 0x30]
je 0x43069d
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax + eax + 6]
jmp 0x4306a8
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax + eax + 2]
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4306ce
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push ecx
push 0
push edx
push eax
push ebp
call fcn.0043d690
add esp, 0x14
test eax, eax
jne 0x4307a1
mov al, byte [ebp + 0x198]
test al, al
jne 0x43077a
push ebp
call fcn.0041b300
add esp, 4
test eax, eax
jne 0x4307a1
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi]
mov edi, dword [esp + 0x24]
push ecx
push edi
push esi
call fcn.0042e590
add esp, 0xc
test eax, eax
je 0x430738
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4307a1
mov edx, dword [esp + 0x14]
push edx
push str.table__T_already_exists
push ebp
call fcn.0041be00
mov eax, edi
add esp, 0xc
push eax
call fcn.00417f90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push edi
push esi
call fcn.0042e6b0
add esp, 0xc
test eax, eax
je 0x43077a
test ebx, ebx
je 0x430756
mov al, byte [esi + 0x80]
test al, al
jne 0x43077a
push edi
push str.there_is_already_an_index_named__s
push ebp
call fcn.0041be00
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
call fcn.00417f90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x50
push esi
call fcn.00420850
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x18], edi
jne 0x4307b6
mov byte [esi + 0x1e], 1
mov eax, dword [ebp + 0x40]
inc eax
mov dword [ebp + 4], 7
mov dword [ebp + 0x40], eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00417f90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [edi], ecx
mov dword [edi + 0xc], 0xffffffff
mov edx, dword [esi + 8]
mov ecx, dword [edx + eax + 0x14]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x1c], 1
mov eax, dword [ebp + 0x180]
test eax, eax
je 0x4307eb
push eax
call fcn.0042e9d0
add esp, 4
mov al, byte [ebp + 0x13]
test al, al
mov dword [ebp + 0x180], edi
jne 0x43081a
mov esi, dword [esp + 0x24]
mov edi, str.sqlite_sequence
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x10]
jne 0x43081a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
mov dword [ecx + 0x54], eax
mov al, byte [esi + 0x80]
test al, al
jne 0x430967
push ebp
call fcn.0043ff10
mov esi, eax
add esp, 4
test esi, esi
je 0x430967
push ebx
push 0
push ebp
call fcn.00430380
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x43085a
push 0x76
push esi
call fcn.0041cf30
add esp, 8
mov eax, dword [ebp + 0x48]
inc eax
lea edi, [eax + 1]
push 1
mov dword [ebp + 0x148], edi
inc edi
push edi
push ebx
push 0x6b
push esi
mov dword [esp + 0x38], eax
mov dword [ebp + 0x144], eax
mov dword [ebp + 0x48], edi
call fcn.0041cea0
push ebx
push esi
call fcn.0041d5d0
push edi
push 0xa
push esi
call fcn.0041cf50
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0xc]
and eax, 0x8000
neg eax
sbb eax, eax
and eax, 0xfffffffd
push edi
add eax, 4
push eax
push 0x2f
push esi
call fcn.0041cf70
push edi
push 1
push ebx
push 4
push esi
call fcn.0041cea0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x14]
movzx ecx, byte [eax + 0x59]
add esp, 0x4c
push edi
push ecx
push 0x2f
push esi
call fcn.0041cf70
push edi
push 4
push ebx
push 4
push esi
call fcn.0041cea0
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.0041d2e0
mov eax, dword [esp + 0x60]
add esp, 0x2c
test eax, eax
jne 0x430911
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x430911
mov eax, dword [esp + 0x24]
inc eax
push eax
push ebx
push 0x32
jmp 0x43091b
mov eax, dword [esp + 0x24]
inc eax
push eax
push 0
push 0x2f
push esi
call fcn.0041cf70
add esp, 0x10
push ebx
push ebp
call fcn.0042eb90
mov ebx, dword [esp + 0x2c]
push ebx
push 0
push 0x19
push esi
call fcn.0041cf70
push edi
push 0
push 0x71
push esi
call fcn.0041cf70
push ebx
push edi
push 0
push 0x69
push esi
call fcn.0041cea0
push 8
push esi
call fcn.0041d2c0
add esp, 0x44
push 0x20
push esi
call fcn.0041cf30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret